Skip to content

How to use schema.gql instead of string #1101

Answered by saihaj
zwhs-co asked this question in Q&A
Discussion options

You must be logged in to vote

You can use @graphql-tools file loader to load the schema file and pass that to the server. See https://www.graphql-tools.com/docs/schema-loading#graphql-file-loader

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Salmandabbakuti
Comment options

@n1ru4l
Comment options

n1ru4l May 5, 2022
Collaborator

@Salmandabbakuti
Comment options

@cavemanAGz
Comment options

Answer selected by n1ru4l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants