07-02-2026 09:45 AM
So, this is a fairly common design, right?
07-02-2026 10:35 AM
I don't think the language makes guarantees about what the wire label will be in situations like this so I wouldn't classify it as a bug.
07-02-2026 10:59 AM - edited 07-02-2026 11:01 AM
You could also do the following to ensure that the label survives...
Note that the wire after the build has no name when probed. it's a bit a can of worms. What if you would concatenate two arrays (same problem: no wire name, even if both input arrays are named the same!)
In my best practices, I always wire a cluster constant with proper element names to the top of the bundle operation if I later want to do anything "by name".