Custom name isn't picked up on client side (codegen) #1789
Unanswered
RemyMachado
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you share a minimal reproduction. You can either use StackBlitz, CodeSandbox or a public GitHub repo. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
When I name my custom scalar, it is incorrectly picked up by graphql-code-generator on the client side (via introspection query).
for
DateISO: GraphQLDateTime
, I end up withDateTime
instead of myDateISO
(custom name):Note that the name is correctly generated on the server side codegen.
Here's my implementation on the server side:
Did I miss a step? Any help or clue would be greatly appreciated.
Thanks
N.B.
I'm not sure if I should ask this here or on the gql-codegen repo
Beta Was this translation helpful? Give feedback.
All reactions