-
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Is your feature request related to a problem? Please describe.
Currently the ash graphql extension puts all queries and mutations in the Query or Mutation Root (the top level).
This prevents us from exposing 2 mutations of the same name. Also with many queries or mutations it gets harder to navigate the docs and find the one you want in graphql docs.
Describe the solution you'd like
In GraphQL you can nest queries and mutations in types like a grouping structure like so:
query {
group {
queryA {
id
}
}
}
The ability to easily make use of such a technique in ash_graphql would be useful. Could look like this but open to suggestions on what to call the nesting eg group
:
graphql do
type :resource
query do
group :group_name do
list :resources
end
end
end
end
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity