graphql-transform-schema
graphql-transform-schema copied to clipboard
TS Type error
source/Schema/index.ts:14:43 - error TS2345: Argument of type 'import("/Users/jasonkuhrt/projects/personal/gql-examples/prisma-stitch/node_modules/@types/graphq...' is not assignable to parameter of type 'import("/Users/jasonkuhrt/projects/personal/gql-examples/prisma-stitch/node_modules/apollo-link/n...'.
Types of property 'astNode' are incompatible.
Type 'Maybe<SchemaDefinitionNode>' is not assignable to type 'SchemaDefinitionNode | undefined'.
Type 'null' is not assignable to type 'SchemaDefinitionNode | undefined'.
14 const transformedSchema = transformSchema(schema, {})
~~~~~~
Guessing the issue here might be that my graphql-tools
is not compatible with the current version of graphql-transform-schema
.