Replies: 2 comments 3 replies
-
And then there is this... Type 'GraphQLSchema' is missing the following properties from type 'GraphQLSchema': __validationErrors, _queryType, _mutationType, _subscriptionType, and 6 more.ts(2740)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
That's not true. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://prisma.typegraphql.com/docs/basics/usage#context-configuration
Following this doc on your site, it says you can use v4
Code snippet is clearly not gonna work with v4
v4 requires typeDefs,
const server = new ApolloServer<MyContext>({ typeDefs, resolvers });
Can't find any docs regarding where to import the typeDefs from, looking around in generated code but I see none.
Beta Was this translation helpful? Give feedback.
All reactions