The same thing happens with `GraphQLInteraction` o...
# pact-js
p
The same thing happens with
GraphQLInteraction
or with
ApolloGraphQLInteraction
Looks like maybe the problem is with
Copy code
headers: { 'content-type': 'application/json' },
in
src/dsl/graphql.ts
Where “content” is in lower case “c” in
Copy code
this.state.request = extend(
...
headers: { 'content-type': 'application/json' },
...
);
so lodash
extend
does not override the object and it creates the two headers
m
PR would be great thanks! It does sound like a bug
My guess is because the case doesn’t match
👆 1
p
Have a PR but I am apparently a git git Seeing this when trying to push it to the repo
what else do I need to do? what am i missing?
Oh, I need to fork it first? facepalm
m
Thanks Pedro, much appreciated. I'll merge and release next week. I'll squash the commits too as it looks like one commit was created, reverted and then created again
Other than that it looks 👍
p
thank you. Yeah, I messed up and pushed the first commit to master instead of on a branch.
👍 1
When can I expect this to be released?
m
Releasing now 🙂
gratitude thank you 1