So, I was reading about the new Phoenix 1.8.0-rc0 feature called scopes, they basically allow you to define, in the route level the “scope” of information you need for it (ex. the user, its organization, the user ip, etc).
I kinda liked the idea since it made all the data be concentrated in a neat struct and making thing more secure and less error-prone.
Of course, adding support for it in Ash right now would be possible without too much changes, but that would need a deliberate effort from the dev to do it (creating the scope, assigning the values correctly in the route, adding the scope as an argument to the actions, etc).
I was wondering if Ash plans to have some code generator or more “built-in” way to support something like that that would avoid too much manual steps from the developer.