Closed mvarchdev closed 11 months ago
We can't merge this.
This is a helper function which only purpose is to find a property or property builder in a tree.
This should not resolve the property, specially with empty values.
A function that is named get...
should not have any side effects.
In order to solve the spreadChildren bug, we should look for the specific code. This change may fix it, but it can introduce a lot of other issues.
Thank you for your effort but I am closing this PR as it is not the right way to fix it. Feel free to submit a new one that is fixing the bug in the relevant code.
@fgatti675 thanks for input! then I have another fix for that :) instead of collection variable, we can use resolvedCollection
@fgatti675 new PR: #560
Added resolver checker for future, replaced collection with resolvedCollection for better optimisation
fixes #552