Closed sberlan-odeko closed 4 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thanks for reporting this @sberlan-odeko , I didn't know input and output existed. We're definitely open for PRs if you're willing to give it a try!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Ran into a typing issue where scalars with a string serialization but resolved to a complex type does not appear to be supported in typescript-mock-data plugin. Specifically, the scalars field for this plugin does not support an
{ input, output }
so that the correct generator could be applied (output for types, input for inputs). The scalars are handled with type resolvers in Apollo in the app.Any plans on supporting this scalar configuration? If not, are you open to PRs?
Configuration: codegen.yml
Schema: src/tmp-error/schema.graphql:
Generated src/tmp-error/mocks.ts with errors: