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

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

Solution B:
grafik

2 Likes