You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to detect and handle recursion during construction of objects from the parameters structure in an entirely automated way.
In the functionClass-level parameters constructor:
Detect if we ever return to the same node in the parameter file
would need a stack (that keeps a pointer to the inputParameter) for this as could go through this class multiple times in an objectBuilder
If detected, return a shim version of the class that just retains a pointer to the original instance and calls the function in the original.
Would need to ensure that the pointer to the object being constructed that is set in the inputParameter node is set prior to anything else in the construction process, so that we can reference this pointer as needed.
The text was updated successfully, but these errors were encountered:
It should be possible to detect and handle recursion during construction of objects from the parameters structure in an entirely automated way.
In the
functionClass
-level parameters constructor:inputParameter
) for this as could go through this class multiple times in anobjectBuilder
Would need to ensure that the pointer to the object being constructed that is set in the
inputParameter
node is set prior to anything else in the construction process, so that we can reference this pointer as needed.The text was updated successfully, but these errors were encountered: