any way to migrate a resolver's type from Int to CustomInt without breaking old clients? #1656
Answered
by
MichalLytek
shawnjones253
asked this question in
Q&A
-
I've got several resolvers that use this signature:
Now I want to start using a custom scalar, which is also an Int, but does some other internal validation (max value for example). So I create a Is there any way to do this without breaking old clients? It seems since graphql doesn't have input unions of scalar types, the only choice is to rename the field during the migration, is that right? |
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Mar 19, 2024
Replies: 1 comment
-
That's a general GraphQL question. You may look for a better approach on stackoverflow or some Discord channels. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shawnjones253
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a general GraphQL question. You may look for a better approach on stackoverflow or some Discord channels.