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
0 answers

GraphiQL returning null values when trying to fetch a particular, single record

I am trying to build a basic GraphQL schema. I have a JSON Server that's running on port 3000 that contains the data I want to retrieve using GraphiQL. Following is the code I've written for the same: const CustomerType = new…
0
votes
1 answer

GraphQL / Apollo: "No Schemas available". NodeJS

I`m trying to work with GraphQL/Apollo, and my "Documentation Explorer" loading infinitely and doesnt show anything, and i can't make any queries. After few minutes I getting an typeError "Failed to fetch". Here's my graphql/index.js file: const {…
0
votes
1 answer

django graphene strangely does not include one of my model fields

I spent hours on this and no luck it looks like a bug. All fields show up in the results of my query but the "type" and there is no difference between the "type" and the "issuer" for example, both are foriegn keys. Graphene randomly removes the type…
Hamid
  • 59
  • 2
0
votes
0 answers

Nodejs CompanyId is not appearing in console log

I was just working on relating companies with users. I creates a new company field on the user type and I told it that it would be of type CompanyType. My next step was to define a resolve function on this property so GraphQL knows how to find the…
user8359832
0
votes
0 answers

Query works in GraphIQL, but not in Relay Classic

I am trying to make a query to get a list of participants. In GraphiQL, this works. However, on the front end with React-Native/RelayClassic, the query only returns one participants In GraphiQL: query getJobInfo ($sessionToken: String!, $jobId:…
Jordan Daniels
  • 4,896
  • 1
  • 19
  • 29
0
votes
1 answer

GraphQL Nested Data in Mutation

I am having some difficulty getting a mutation working in GraphQL where the type in the schema includes a nested type. So say I have a data type for a booking: const BookingType = new GraphQLObjectType({ name: 'Booking', fields: () => ({ …
Drum
  • 505
  • 1
  • 5
  • 22
0
votes
1 answer

grapgql-ruby using the graphiql interface on a Rails 5 api

This is probably something stupid simple, but not sure how to run the graphiql interface when working with a rails api. Possible this might not be feasible as when i installed the gem, it made reference to not installing graphiql i believe because…
maverick5
  • 171
  • 1
  • 9
0
votes
1 answer

Why is GraphiQL not auto completing/finding my interface fields?

I am trying to use an interface in my schema. Here is the schema: export default new GraphQLObjectType({ name: "Org", fields: () => ({ name: { type: GraphQLString }, paymentType: { type: PaymentType, resolveType:…
jhamm
  • 24,124
  • 39
  • 105
  • 179
0
votes
1 answer

Why are Results logging as undefined after a GraphQL Mutation?

In one of my components within a redux-form onSubmit, I have the following: const result = await helloSignup(values); console.log(result); helloSignup is mutating the database as expected but the const result is currently be logged as…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
0
votes
1 answer

Rendering Relay Modern Fragments in React

I cant seem to get the "count" data to show up in the UI. I'm sure I'm missing something about using two fragments in the same container or rendering the edges array or async, maybe. All other data is showing except {this.props.link.votes.count}…
armand
  • 693
  • 9
  • 29
0
votes
1 answer

GraphiQL return 'null' on query

I am actually experimenting with GraphQL and GraphiQL using a Neo4j DB and using an example from the neo4j_movie_recommendations code. I have a very strange problem which seems to be either javascript- or GraphQL-related. I do a simple query and…
MichaelE
  • 757
  • 14
  • 42
0
votes
1 answer

GraphiQL subscriptions working with subscriptions-transport-ws 0.7.3, but not 0.8.2

I have a nodejs GraphQL app running with the following "graphql": "^0.10.5", "graphql-errors": "^2.1.0", "graphql-server-core": "^1.1.0", "graphql-server-express": "^1.1.0", "graphql-server-module-graphiql": "^1.1.0", "graphql-subscriptions":…
wabrit
  • 217
  • 2
  • 14
0
votes
1 answer

What should a blank GraphQL query return?

I'm experimenting with building a GraphQL server and I'm trying to use the GraphiQL Chrome extension to play with it. As soon as I set the endpoint to my server, http://localhost:3000/graphql, GraphiQL sends an empty query: Request…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
-1
votes
1 answer

How to enable explorer tab and add authorization prefix in graphiql playground?

How to add (ex. "Authorization" : null ) prefix in graphiql playground How to enable explorer tab to get available query and mutations
Digen
  • 67
  • 9
-1
votes
1 answer

GraphiQL Mutation: How can I ignore other objects in query variables

Currently having hard time setting up my end points clerk to hasura. I am absolute new to this platform specially at GraphiQL and just following documentations and youtube video What I am trying to do is import/insert specific data i neeed only from…
Mashwishi
  • 177
  • 1
  • 4
  • 16
1 2 3
14
15