Skip to content

Example doesn't work #720

@ZaninAndrea

Description

@ZaninAndrea

The end-to-end example showed in the documentation doesn't work.

If I run any query I get this error

{
  "errors": [
    {
      "message": "graphql_1.execute(...).then is not a function"
    }
  ]
}

STEPS TO REPRODUCE:

  • follow the steps in the example (install module, run code)
  • open graphiql
  • run any query

POSSIBLE REASON
Implementing resolvers as promises solves the issue, but that's not a good solution, because I cannot reimplement the introspection query

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