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
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