question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
RinceLaggercommented, Jul 23, 2021

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

0reactions
r-s-sandboxcommented, Dec 16, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error handling - Apollo GraphQL Docs
Whenever you throw a GraphQLError , you can add arbitrary fields to the error's extensions object to provide additional context to the client....
Read more >
Extend an OpenAPI definition for a custom connector
Identifies in a Boolean value whether a webhook notification URL should be placed in this parameter/field for a webhook registration operation.
Read more >
Extending the REST API (REST Application Developer's Guide)
You can extend the REST Client API in a variety of ways, including resource service extensions and evaluation of ad-hoc queries and server-side...
Read more >
REST API for updating informations with empty or null values
What happens if the objects are extended by an update of the API. Suppose we extend the database by five more fields. The...
Read more >
Lambda Extensions API - AWS Documentation
The event sent to each extension contains metadata that describes the event content. This lifecycle event includes the type of the event, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found