any way to migrate a resolver's type from Int to CustomInt without breaking old clients? #1656
-
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.
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.
That's a general GraphQL question. You may look for a better approach on stackoverflow or some Discord channels.