how to use envelop with nestjs? #1554
Answered
by
kodeine
sschneider-ihre-pvs
asked this question in
Q&A
-
Let's look at the example from the docs real quick GraphQLModule.forRoot<ApolloDriverConfig>({
driver: ApolloDriver,
typePaths: ['./**/*.graphql'],
definitions: {
path: join(process.cwd(), 'src/graphql.ts'),
outputAs: 'class',
},
}), So as you can see, the Module takes care of merging all relevant graphql files together to build a schema, so only after this is done you have a schema. Where can I place envelop to be able to access the schema and where to add the wrapper for the requests then? |
Beta Was this translation helpful? Give feedback.
Answered by
kodeine
Nov 12, 2022
Replies: 1 comment 7 replies
-
Looking for the same answer |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
n1ru4l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking for the same answer