Unwanted object wrapping #691
Unanswered
danjirovec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using GraphQLClient to make request to my API (I'm using Refine metaframework btw).
I'm constructing my query using graphql-tag as follows:
However when I look at the request body in the console, it has added object layer "customer: {...}":

My CreateCustomer! type looks like this:
Could the GraphQLClient be somehow adding the customer layer? And if so, how do I prevent this?
I'm using NestJS-Query on the backend.
Beta Was this translation helpful? Give feedback.
All reactions