AIP Logic Can't Recognize Optional Output Struct Fileds

For some reason, AIP Logic can’t handle an optional output field, which is making it impossible to use functions that have optional attributes in a struct field. Setup is depicted in the screenshots.
Type definition from the compute module


Set up the compute module

AIP Logic barfing all over it

Is there anything wrong with my setup?

There isn’t anything wrong with your setup, Logic’s type system currently doesn’t support nullable fields.
Its a shortcoming, but we are currently working on it. Depending on the place that you need nullability you have some workarounds available:

  • Empty strings / arrays you handle in the place Logic is calling
  • The “Create null value” block, although this should be used with caution, it can turn compile-time errors into runtime errors

Any idea when this will be fixed?