Questions tagged [graphiql]

GraphiQL is a graphical user interface for editing and testing GraphQL queries and mutations.

GraphiQL is a open source GraphQL integrated development environment (IDE). It’s a powerful (and all-around awesome) tool you’ll use often while building GraphQL API's.

GraphiQL Documentation

216 questions
3
votes
1 answer

How can I do a WpGraphQL query with a where clause?

This works fine query QryTopics { topics { nodes { name topicId count } } } But I want a filtered result. I'm new to graphql but I see a param on this collection called 'where', after 'first',…
Hcabnettek
  • 12,678
  • 38
  • 124
  • 190
2
votes
0 answers

Accessing GraphiQL over a JWT protected route in ExpressJS

So far I've always had one big painpoint with GraphQL. I'm very well aware that you can specify headerEditorEnabled when you setup express-graphql like this: graphiql: { headerEditorEnabled: true, }, However, that doesn't really help if you've…
Dac0d3r
  • 2,176
  • 6
  • 40
  • 76
2
votes
1 answer

Hostname resolving error in Stepzen Graphiql explorer when connecting with Supabase Postgresql database

I have set up Stepzen as described in the Getting Started Docs. I get the following error when running stepzen start: { "data": { "getProfilesList": null }, "errors": [ { "message": "database error: can't prepare the statement…
Abdullah
  • 488
  • 6
  • 16
2
votes
0 answers

How to fetch pages or articles using graphiql api in shopify?

I am trying to fetch the pages in Shopify GraphiQL App I can fetch the store name using this schema query{ shop{ name } } but not able to fetch the pages using following query query{ pages { name slug subtype …
atul1039
  • 143
  • 4
  • 13
2
votes
1 answer

Downloading Schema from GraphiQL

I am currently using the apollo android and iOs libraries which require me to download the schema. Is it possible to download the schema from graphiql? Currently, I keep getting errors from the command line and there is no way to download it…
paul590
  • 1,385
  • 1
  • 22
  • 43
2
votes
1 answer

"No schema available" Graphiql .net core api

I'm trying to develop a simple graphql api in .net core. When I run the application, I don't see any schema in the document explorer. Everything seems to be right. I could not find the problem. .net core version 3.1 graphql version 3.2 GraphiQl…
2
votes
1 answer

Graphql playground stuck at loading when accessing my server in heroku

I deployed a simple apollo grapqhl server to heroku (http://filex-database.herokuapp.com) but when I try to access the playground on my main machine the playground doesn't load and gets stuck at Loading Screen. The playground loads perfectly when I…
medicengonzo
  • 479
  • 1
  • 7
  • 23
2
votes
1 answer

Graphql Mutation with Array types

I'm trying to write a mutation query and it works perfectly with graphql mutation($project: ProjectsInput) { NewProject(project: $project) { name, namespace, environments{ env, }}} these are the query…
maria
  • 45
  • 6
2
votes
2 answers

GraphIQL explorer not showing in Gatsby when using gatsby-source-graphql

I'm new to Gatsby and have set up the aws-appsync-gatsby-sample project. The GraphQL data correctly renders in the local site as seen here: However, I want to use the GraphIQL explorer to learn how to further manipulate the GraphIQL queries but…
nipy
  • 5,138
  • 5
  • 31
  • 72
2
votes
0 answers

Defining the Default graphql in the GraphiQL Interface

I'm new to Gatsby, and I'm having trouble understanding how the graphiQL interface is populated with a default query. I'm comparing two Gatsby starters. One is called photo book and the other is called gatsby-creative. I've downloaded and…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
2
votes
0 answers

Laravel GraphiQL "documentation explorer" says "no schema available"

I'm using this Laravel graphQL implementation : https://github.com/rebing/graphql-laravel, which uses this graphiQL implementation : https://github.com/graphql/graphiql I'm trying to explore my graphQL schema using graphiQL through…
4givN
  • 2,936
  • 2
  • 22
  • 51
2
votes
2 answers

How to integrate GraphiQL with Spring-Boot?

My target is to build a GraphQL server on Spring with (1) GraphiQL IDE (2) dynamic GraphQL schema at run-time. My GraphQL engine is GraphQL-Java. In my first try, I use graphql-java-spring-boot-starter-webmvc and graphiql-spring-boot-starter. Both…
Jeff
  • 267
  • 5
  • 20
2
votes
0 answers

Is there a way to map camel case fields using gatsby-source-firestore?

I'm using gatsby-source-firestore and mapping fields from Firestore. When I map a field named createdAt, I don't see it in the GraphiQL interface. But when I change it to be createdat in Firestore and in the mapping (not using camel case), it does…
oligopol
  • 810
  • 11
  • 17
2
votes
1 answer

Problem with introspection of GraphQL ASP.NET Core Web API Controller

I can't see the schema of my GraphQL Graph. The introspection is not working when I use Web API GraphQL Controller as endpoint. I've currently tried with GraphiQl and the UI.Playground library [Route("graphql")] [ApiController] public class…
Stefan PEev
  • 481
  • 5
  • 17
2
votes
1 answer

GraphQl and insomnia desktop clients not working with graphql.org/swapi-graphql

I am new with graphql. Visited the site https://graphql.org/swapi-graphql/ and sent a simple query like so query { allPeople { people{ name birthYear } } } and got the response like { "data": { …
VivekDev
  • 20,868
  • 27
  • 132
  • 202
1 2
3
14 15