Is it alright for an applier node to have access t...
# compose
a
Is it alright for an applier node to have access to the applier via callbacks?
🤔 1
a
I'd probably avoid exposing it but it looks from these examples like the thing you want to give these callbacks is
engine
a
I might need to expose other things, such as the scene, view, etc from filament
If not, I’ll probably restrict the scope
a
Then I would probably define an abstraction to represent that rather than expose the applier for it
The applier is generally a manipulator of your data structure, not the structure itself
Giving the nodes a reference to the abstraction that performs those tree manipulations is kind of a weird layering
Kind of a circular dependency
a
Yeah, the whole circular dep thing was a concern of mine