graphql-code-generator icon indicating copy to clipboard operation
graphql-code-generator copied to clipboard

Better support for `graphql-scalars`

Open charlypoly opened this issue 1 year ago • 5 comments

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

charlypoly avatar Sep 29 '22 12:09 charlypoly