Closed Colt45s closed 2 weeks ago
Hi @Colt45s ,
It looks like you can't override default scalars like ID
at runtime: https://github.com/graphql/graphql-js/issues/917
Since it cannot be done at that level, I don't think we can support it at codegen level 🙂
Unless you are able to override the default scalar somehow?
Closing this as overriding default scalar is not currently supported at GraphQL level. Thanks for reaching out!
I am trying to implement an ID scalar according to the GraphQL Global Object Identification Specification.
codegen.ts
base/resolvers/ID.ts
No resolver is generated in resolvers.generated.ts.