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
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