Add the ability to group the mutations
See original GitHub issueI don’t if this should be here or in the actual spec but. Right now practices like put the resource name and then action for example postCreate
because we want to have some order in the mutations can be resolve with some soft of tag or grouping.
I think it will be good to add that functionality so it’s easier to manage the mutations and we do not have to create some weird names because the tooling force us to do for a better experience on it.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Genetic Mutation | Learn Science at Scitable - Nature
For mutations to affect an organism's descendants, they must: 1) occur in cells that produce the next generation, and 2) affect the hereditary...
Read more >DNA Mutations | Biology for Majors I - Lumen Learning
Over a lifetime, our DNA can undergo changes or mutations in the sequence of bases: A, C, G and T. This results in...
Read more >DNA Mutation and Repair
A mutation, which may arise during replication and/or recombination, is a permanent change in the nucleotide sequence of DNA. Damaged DNA can be...
Read more >Mutation, Repair and Recombination - Genomes - NCBI - NIH
Methylations, for example, often result in modified nucleotides with altered base-pairing properties and so lead to point mutations.
Read more >Evolution myths: Mutations can only destroy information
Most people lose the ability to digest milk by their teens. A few thousand years ago, however, after the domestication of cattle, several...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@asiandrummer many people flip the order of the naming for example
createOrder
vsorderCreate
. If you have multiple actions around theorder
you will normally putupdateOrder
,createOrder
… so on. But this will spread the mutation list all over the place in theDos
section, instead of put them together for be better organization.I am not sure how to do some code example because it is more about what GraphiQL does, or rather does not do. I am not quite sure if the introspection is forced by Graphql on what you could put inside. For example add
group:
key to the schema in the introspection.So I need to do is some way of tagging the mutation so I can group them for example
so it will be something like
Something like that, where you could read from the introspection and be able to group them (probably use the same navigation in the
Docs
section)The reason I didn’t open it there is because I am not sure if the introspection shape is forced by GraphQL or you could relay on some added feature from it.
Was there ever a resolution to this? I can’t be the only one with an absolutely unruly list of queries and mutations, almost 1800 lines long. My “Execute Query” button requires scrolling several screens down to reach the last one. Are you guys using a different set of tooling to solve this? From a UI perspective, allowing the “Execute Query” to have sub-menus for “groups” would be logical step. Thank you.