You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
Allow clients that send queries to use predefined fragments on the server side.
The goal:
Shorten the query for every client by avoiding to repeat the fragment declaration.
Allow the client to have dynamic fragments that are updated server side. For example, if a field was added to the schema server side, the fragment will update accordingly.
The text was updated successfully, but these errors were encountered:
Ariel-Dayan
added a commit
to Ariel-Dayan/express-graphql
that referenced
this issue
Nov 28, 2019
added function addedServerFragments that concats relevent
fragments from the server to req query.
added function findFragments that return relevant fragments
for current request.
added function sliceFirstWord.
added serverFragments option.
resolvesgraphql#575
to follow conventions elsewhere, we might accomplish this via graphql-config where folks are already using similar capability for IDE tooling? but it should also be possible without graphql-config
Allow clients that send queries to use predefined fragments on the server side.
The goal:
The text was updated successfully, but these errors were encountered: