Class objects are recreated when global channels are used, although they should not be

I think it’s a bit of a misbehavior of global channels.
ModelDemo1.vl (7.6 KB)
ModelDemo1-Application_2023.10.23-11.28.52

This is kind of a workaround, but it still leaves the question, is this supposed to be this way by design?

I guess the default of Optional<> should be NoValue. So that you don’t need to connect the NoValue node. We’ll review this.

1 Like

Should mention that there is no such a behaviour in the case of Record

This will be fixed in the upcoming preview. However, you will need to push an initial model to the channel.

Otherwise, you will get this:

Solution A:

Solution B:

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.