graphql-code-generator
graphql-code-generator copied to clipboard
Better support for `graphql-scalars`
DX proposal:
{
// ...
scalars: "graphql-scalars#clientTypes"
// ...
}
Map to the primitive (serialized) value, always, and not use the GraphQLScalar or anything from graphql-scalars lib.
Related https://github.com/dotansimha/graphql-code-generator/issues/8412, https://github.com/dotansimha/graphql-code-generator/issues/8296#issuecomment-1256916743