Closed firewave-remo closed 11 months ago
Closing this, as i thought the Getter and Setter act more like an interceptor. But as i was digging through the code of this and other repos, it turns out that these are mostly used for when you have to get a value from other systems.
I would still be cool to have interceptors for getting and setting the value.
Thanks for this awesome library! Way easier to use than others I have tried!
But currently, I hit a wall and I am not able to figure out how I get the underlying value inside the closure of AttrFnGetter (The getter to retrieve a value)
I would like to apply some transformations to the value and then return it. Is there a possibility i am missing? Unfortunately the
simple_server
example does not show how to get the value. It does only show how to create a new value and return this value.