Skip to content

Plugin - GraphQL #94

Description

@canny

Creation of a GraphQL plugin that is aware of the syntax and semantics of a GraphQL client call (the provider response is standard JSON over HTTP).
Whilst GraphQL is currently supported by Pact (see https://pactflow.io/blog/contract-testing-a-graphql-api/) users need to be aware of the HTTP abstractions and JSON payload of GraphQL, and to handle the query either:
a) ensure the consumer payload matches exactly character-for-character what was expected, or
b) use an ugly regex to allow additional spaces/characters in the query

https://pact.canny.io/admin/board/feature-requests/p/plugin-graphql

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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