Defining Queries on the server #3429
joel-wenzel
started this conversation in
General
Replies: 1 comment
-
Hello, you might be thinking of the concept of "Persisted Queries". It's not a GraphQL standard so you'll see different implementations around. In general, the idea is passing a hash which corresponds to a GraphQL operation or document which saves the amount of data to send. You'll have to implement some sort of data store for this. You might be interested in these pages to learn more |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I swore at one point I saw in the docs it was possible to define larger queries on the graphql server/schema. The client would just pass the query name, or something to that effect instead of the client sending the entire query string every time.
Does anyone know if that is possible
Beta Was this translation helpful? Give feedback.
All reactions