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
0
votes
1 answer

Graphql query works in installed app but not in GraphiQL

very new to shopify and graphql i created a sample shopify shop and installed shopify graphQL app in it. when i run this query in the installed app i get results when i run the same query from the C# code or GraphiQL i get this error "Field…
Raas Masood
  • 1,475
  • 3
  • 23
  • 61
0
votes
2 answers

GraphQL filtering an array

I am using GatsBy GraphiQL to write a query to return a single element, but the query returns all of the elements. Here is my testing data: { "data": { "mKT": { "data": [ { "name": "Apple", …
Saber
  • 2,440
  • 1
  • 25
  • 40
0
votes
1 answer

graphiQL not showing GraphQL schmea (spring graphql-spqr)

I am using spring-boot with graphql-spqr. GraphQL queries and mutations work. But the GraphiQL webfrontend does not show the schema in the "documentatin explorer" in the rightmost column. Why? My graphql Controller @RestController public class…
Robert
  • 1,579
  • 1
  • 21
  • 36
0
votes
0 answers

Shopify how to get second page in GraphiQL

I am developing an application and faced such a problem as limiting the receipt of products from the store. Now I started using GraphiQL queries to get information about the products of the store, but I was faced with such complexity that I cannot…
tima4ka1
  • 31
  • 4
0
votes
1 answer

How to add names to your GraphQL queries and mutations in GraphiQL?

What is the syntax for naming your GraphQL queries and mutations specifically from the GraphiQL GUI?
Matt C.
  • 2,330
  • 3
  • 22
  • 26
0
votes
0 answers

Graphiql gives correct output from Node.js backend but React Apollo client (with same query) gives the wrong output

The gist of my question is in the title. So I made simple GraphQL backend with Node.js. When I check it with GraphiQL it works fine. But the same query I use with GraphQL does not work when I fetch it with React (Apollo) client. It doesn't throw the…
user10581168
0
votes
1 answer

GraphQL: UnionType with Scalar and InputObjectType

I have a database storing some videogames. Each of them has three release dates: one for Europe, another for America and a last one for Japan. I would like to allow users of my GraphQL API to search for games according to these dates. For exemple,…
KorHosik
  • 1,225
  • 4
  • 14
  • 24
0
votes
1 answer

Query Request on graphiql

Since I already thank you for the space, I'm with following problem with graphql, I followed the commands by a public api site, AniList https://anilist.gitbook.io/anilist-apiv2-docs/overview/graphql/getting-started, I can get a lot of information,…
alberblk
  • 11
  • 1
0
votes
1 answer

Can we write Mongo DB query in GraphiQL?

I want to know whether I can make use of the Mongo DB query for filtering the data in GraphiQL. Actually, I made an API with PyMongo, flask & GraphiQL. Ex - in Mongo DB inside a collection I have the following 5 documents -: Data in Mongo…
0
votes
1 answer

How do you perform operations on variables in GraphQL?

I am a traditional programmer new to GraphQL and I can't seem to find documentation on what I consider the basics, aka manipulating variables. Note: I am using GraphQL with Shopify(Admin API), through an app GraphiQL, so that my effect syntax and…
0
votes
1 answer

Gatsby and GraphQL: Accessing data in a template page

I have a Gatsby project built with Gatsby-Ghost-Starter. I am trying to access blog post data from Ghost within a Gatsby template file. I'm successfully accessing some of the data, but having trouble accessing nested GraphQL data. Using the Graphiql…
Nick Kinlen
  • 1,356
  • 4
  • 30
  • 58
0
votes
0 answers

GraphQL Mutation has a problem about variables

I have a .NET Core Web API and I am using in-browser GraphiQL for testing my API. Here is my query and the error I got. My Schema class: public class DeveloperSchema : Schema { public DeveloperSchema(IDependencyResolver resolver) :…
Koray Durudogan
  • 624
  • 4
  • 12
  • 31
0
votes
1 answer

Tag cloud and Category list with gatsby-plugin-categories / gatsby-plugin-tags

I wanna create a tag cloud (or category list) which should link to the corresponding tagged articles and category. But in the queries I built only the name OR slug are concatenated because they are placed either in fields OR in frontmatter but not…
Jan
  • 12,992
  • 9
  • 53
  • 89
0
votes
0 answers

gatsby-source-ghost is failing to create the Ghost schema in Gatsby

I currently have a Gatsby project based on the Gatsby-Ghost-Starter project. The Ghost schema is no longer being generated in Gatsby for some reason, and I can't seem to figure out why. As a result, I get the following error: There was an error in…
skon182
  • 71
  • 1
  • 7
0
votes
1 answer

FaunaDB GraphiQL will not allow me to update my schema when I specify a new input type

This is an example of a document I am trying to retrieve: { "ref": Ref(Collection("Word"), "270608756095582738"), "ts": 1594331477980000, "data": { "word": "ablatitious", "letters": [ { "letter": "a", …
Nick
  • 73
  • 6