pact-python
pact-python copied to clipboard
Add GraphQL support
Hello, I am interested in adding GraphQL support in Python implementation. How much effort it could take to implement?
Maybe not too much? You can treat graphql requests as post requests that pass in
{"query": query, "variables": variables} into the data during the request in a pact.
Maybe it just needs a simple wrapper but I currently write graphql pacts using the above
Thank you @duzumaki, it can be an option. What about that case when GET GraphQL request need to be processed?
This issue has been linked to a Canny post: Add GraphQL support for Pact Python implementation :tada: