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
Just echoing some conversation seen in other issues.
For complex transformations, having interceptors (#122, #114) takes care of most things. Any transformer that requires parent access can simply become an :after transformer on the parent type. I will admit that this, theoretically, doesn't compose as well, nor remain as focused - however in my use cases this ended up not being a big difference.
In reitit nesting of routes allows one to define what sub-routes share access roles. I would like to define in a similar way the access level for a group of attributes. Then I could filter/transform data (anonymize, or omit keys) based on the user access level.
If schemas knew their parent, we would be able to do:
Is this good or bad?
The text was updated successfully, but these errors were encountered: