graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

Failing to extend an input - extended field is send to original api #98

Open TimHolzherr opened 4 years ago

TimHolzherr commented 4 years ago

Hi

Amazing Project!

When I try to extend an input of a mutation like this:

extend input FooInput{
  foo: String 
}

the resulting schema looks correct but graphql-faker still sends the additional field "foo" to my api server. The api I am using is strict and does not allow additional fields to be present. => I cannot extend a input with graphql-faker. Is this the intended behavior, a bug or am I missing a flag?

Thanks for your effort!

IvanGoncharov commented 4 years ago

Is this the intended behavior, a bug or am I missing a flag?

@TimHolzherr Neither, I just forgot to implement this. I will look if I can quickly implement this or not.

k41n commented 4 years ago

👍

sochisic commented 3 years ago

Useful stuff 👍

r-s-sandbox commented 3 years ago

Any updates @IvanGoncharov. Running into a similar issue pointed by Tim

RinceLagger commented 3 years ago

Any updates @IvanGoncharov?.I am also running into a similar issue. Thx in advanced!