GraphiQL does not prettify where clauses
See original GitHub issueWhen running ‘prettify’ in GraphiQL it just where
clauses onto one line, resulting in them being much less ‘pretty’
eg
thing(where: {_and: [{abc: {_eq: $abc}}, {_or: [{foo: {bar: {value: {_ilike: "%gor%"}}}}, {foo: {baa: {boo: {moo: {value: {_ilike: "%gor%"}}}}}}]}]}) {
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:6
Top Results From Across the Web
How do I add an OR condition in a graphql where statement?
ERROR: "Your filters contain a field 'or' that doesnt appear on your model definition nor it's relations. Some statements that work (but not...
Read more >GraphQL Queries to fetch data - Hasura
GraphQL Query Filter - Where Clause. You can filter the data returned by your queries with the where argument. The where argument is...
Read more >GraphQL Query Options - Gatsby
Intro This page will walk you through a series of GraphQL queries, ... In this query, the filter argument and the ne (not...
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 >GraphQL Tutorial: how to use fields, fragments, and more
GraphQL will throw an error if we query the same field with different arguments. Imagine we have our user objects and want to...
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
This would really improve my workflow. 👍
Right now I typically copy/paste queries from the Hasura console into a VSCode window, where I can reformat the query with the Prisma vscode-graphql extension.
any updates on this?
im now 26 years old, still have to scroll right