Zach Daniel
Zach Daniel
You can currently do `load(relationship: Ash.Query.for_read(Resource, :action))`, IIRC. Would need to test how that behavior plays with the current logic, as at the moment relationships are explicitly configured with an...
You can also configure two actions w/ different names that use a different read action
I'm mostly concerned about the syntax of it, as the options you showed are not unambiguous (if you had a relationship or calculation called the same name as the action)
but you can't have a relationship or calculation or attribute with the same name. I think if we want to support it we'd need to come up with some kind...
Hm....that is true. But is this particular feature worth the introduction of that requirement? For instance, those other things can't share a name because they live in the same map,...
Yeah, a map could work. Currently if you see a map in a load statement it can only be calculation arguments I believe. I'm open to it 👍
Oh, and you can test it yourself creating a new app: ```elixir mix igniter.new my_app --with phx.new --install sentry@github:zachdaniel/sentry-elixir ```
I forgot to explain the main endgame which is to put sentry as an option on the https://ash-hq.org installer
Also realized I was missing some pieces here to make the installer idempotent, will have some new code to look at shortly.
Something also to keep in mind is that for users who don't want to use igniter or can't for whatever reason, this shouldn't affect them at all given that it...