Top "Graphql-js" questions

The JavaScript reference implementation for GraphQL, a query language created by Facebook for describing data requirements on complex application data models.

GraphQL Expected Iterable, but did not find one for field xxx.yyy

I'm currently trying GraphQL with NodeJS and I don't know, why this error occurs with the following query: { library{ name, …

node.js graphql graphql-js
How to query list of objects with array as an argument in GraphQL

I'm trying to query a list of objects having array of IDs. Something similar to following SQL query: SELECT name …

graphql graphql-js
Firebase & GraphQL

Does anyone have any experience with GraphQL and Firebase? I figure one would place the firebase calls in the resolver …

firebase firebase-realtime-database graphql graphql-js
Document a GraphQL API

With REST we can use Swagger, RAML or other technologies to document our API and generate an HTML documentation that …

graphql graphql-js
Graphql post body "Must provide query string."

I use Express-graphql middleware. I send the following request in the body line: POST /graphql HTTP/1.1 Host: local:8083 Content-Type: application/…

express graphql graphql-js
Graphql - How to perform where clause

I am new to graphql and I am struggling with a query. I want to return a user by their …

graphql graphql-js
GraphQL nested query definition

I'm trying to create tree-like structure for my queries, to get rid off queries like peopleList, peopleSingle, peopleEdit, peopleAdd, peopleDelete …

javascript schema graphql graphql-js
Field \"me\" of type \"User\" must have a selection of subfields

Hi I am trying to learn GraphQL language. I have below snippet of code. // Welcome to Launchpad! // Log in to …

javascript graphql graphql-js
How to add default values to input arguments in graphql

I have this input type and I would like to add a default Value to one of the fields. I …

graphql graphql-js
Why does a GraphQL query return null?

I have an graphql/apollo-server/graphql-yoga endpoint. This endpoint exposes data returned from a database (or a REST endpoint or …

graphql graphql-js apollo-server