Only see Queries not mutations
See original GitHub issueSummary
I have tried Apollo Server and Graphql-Mesh both working with Postgraphile and neither shows mutations only queries. I am currently connected via my local postgres database and the other is connected to my supabase instance. Any idea that can help on why mutations doesn’t show?
I’ve visited here: https://www.graphile.org/postgraphile/crud-mutations/#if-mutations-dont-show-up but none of these reasons match my use case.
Additional context
I am the primary and only user for my database(s) and have all permissions to read and write to them. Using Supabase for my hosted instance and local postgres install and accessible via pgAdmin 4.
Issue Analytics
- State:
- Created a year ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
GraphQL Mutation vs Query – When to use a GraphQL Mutation
If queries are the GraphQL equivalent to GET calls in REST, then mutations represent the state-changing methods in REST (like DELETE , PUT...
Read more >Schema not working with only Mutation field #414 - GitHub
I want to create a schema which has only mutation field. It doesn't need query field. var Schema, _ = graphql.NewSchema ...
Read more >Queries and Mutations - GraphQL
On this page, you'll learn in detail about how to query a GraphQL server. Fields#. At its simplest, GraphQL is about asking for...
Read more >Mastering Mutations in React Query | TkDodo's blog
Mutations are, per design, not directly coupled to queries. A mutation that likes a blog post has no ties towards the query that...
Read more >GraphQL: Can you mutate the results of a query?
A way around this might be to redefine all the query fields you need inside the mutation type. This is obviously not a...
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 Free
Top 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
It turned out to be my ids that were linked to other tables that were causing the issue. After going through my database and unlinking my ids across the database, I was able to get my mutations to appear.
I do not know how to set envvars in Microsoft Terminal, but it seems what you’re doing isn’t working. Sorry, I don’t develop on Windows; perhaps try asking in the Discord: https://discord.gg/graphile