aside from recompiling with some special logic, is...
# lucee
d
aside from recompiling with some special logic, is there a way to add a callback to lucee to be notified of access to some scope? e.g. "every time
application
is touched, run some callback"
b
Not unless you are running all application scope access through a facade
1
d
figured as such, threw the dice on asking, maybe someone would go "duh add a hooks.json"
b
I suppose they still could, but I've never heard of such a thing 🙂
a
And of course one always should be abstracting one's access to shared scopes anyhow 😉 So... make the ApplicationAdapter implement the Observer pattern and yer done.
[cos of course it's as easy to do as it is to say [cough]]
e
basically, all code Snicker --Class -> This -> Global --> MyObj[1}