Skip to content

Does not work with graphql >= 16 #373

Open
@steinybot

Description

graphql-js removed support for positional arguments in the call to graphql. It must now be a single GraphQLArgs object.

Passing it as positional arguments (i.e. schema first meaning that schema is the args object) will result in:

Expected ${inspect(schema)} to be a GraphQL schema.

As it tries to use args.schema on the schema itself.

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