I just noticed in the example at `pact-js/examples...
# pact-js
p
I just noticed in the example at
pact-js/examples/graphql
when running
npm run test:consumer
it generates a Pact file with two “Content-Type” headers. Notice how one is in lower case “c” in “content”
Copy code
{
  "consumer": {
    "name": "GraphQLConsumer"
  },
  "interactions": [
    {
      "description": "a hello request",
      "request": {
        "body": {
          "operationName": "HelloQuery",
          "query": "\n          query HelloQuery {\n            hello\n          }\n        ",
          "variables": {
            "foo": "bar"
          }
        },
        "headers": {
          "Content-Type": "application/json",
          "content-type": "application/json"
        },
which causes a DuplicateHeaderError when running the verifier (in Ruby) I cloned the latest version from GitHub v10.3.1 Is anyone aware of this? Is there a way to get around it? If it is a bug I’d be happy to push a PR to fix it