menu

GraphQL

GraphQL is a query language for APIs, with thousands of tools and libraries built by the community.

Channels
Team
Posts
Members
Info

Generic Pagination Connections schema

Hey GraphQL members! Relatively new to GraphQL. I have a question around how to make the connections style of pagination reusable in schema. eg.) If I have such a schema …

thumbsup
0
message-simple
0

Both apollo.config.js & .graphqlconfig in VSCode

I'm relatively new to the world of graphql, and I'm having trouble finding information on why I may need both a graphql config file and an apollo config file. What I know right now is that with the .graphqlconfig file in place, I can Execute Query inside of a gql function --…

thumbsup
0
message-simple
0

Hi I'm new to graphql and wondering is there a gui tool for building graphql…

thumbsup
0
message-simple
1

Mutation of updating nested object

What is the best way to update an object including child object? In one mutation if possible. Here is a simple example of one to one relationship. I can create it in one mutation just like: …

thumbsup
0
message-simple
0

Nested query arguments?

Hey there, Is it possible to allow arguments on nested query properties? i.e. I've implemented an orderBy arg for a top-level tasks query like so: and this works fine, but I would like to be able to query a collection of tasks and add the query arguments to the nested tasks…

thumbsup
0
message-simple
1

Question about 'directive could not references itself indirectly'

Is the definition below valid?

thumbsup
0
message-simple
0

Vue apollo queries. Combine two queries in one.

Hi everyone! I got stack here: I want to combine the results of two queries in on JSON. I need the JSON to use as items for a Vue treeview. The main query that displays items in the sidebar: …

thumbsup
0
message-simple
0

State isn't changing using useMutation

I have the following application: Backend: • apollo-server-express w/TS …

thumbsup
0
message-simple
0

GraphQL Playground fails if the endpoint has a self signed certificate

The queries fail with error on console saying ERR_CERT_AUTHORITY_INVALID I want it to work despite having a bad certificate. For some unavoidable reasons I cannot do without SSL.

thumbsup
0
message-simple
2

How to access siblings of Query in typepolicies

Hi, in my type policy in my getCartItems I have a reactive var of product ids array which I want to loop over and filter out matching products with matching ids from all products field. Is there any way to refer siblings field of Query?

thumbsup
1
message-simple
0