Skip to content

TS Type error #15

Open
Open
@jasonkuhrt

Description

@jasonkuhrt
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions