JKISoftware / JKI-State-Machine-Objects

Object-oriented framework for LabVIEW based on the JKI State Machine
BSD 3-Clause "New" or "Revised" License
95 stars 56 forks source link

Support setting public attributes before object creation #79

Closed francois-normandin closed 3 years ago

francois-normandin commented 3 years ago

The use case is to inject attributes during the enumerateStaticDependencies callback, at a time when the SMO dependency might not be created yet. This feature would store attributes byValue until object creation where the attribute would be set in the pipeline just prior the onCreated callback.

francois-normandin commented 3 years ago

build 1.4.0.64 overwrites Identity in the newly created attributes. Fix is simple: merge attributes instead of overwiting.

image