graphql-compose / graphql-compose/graphql-compose-mongoose

InputTypes generated for Discriminators

Open
#326 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
706
Forks
98
PR merge metrics
No merged PRs in 30d

Description

May have missed the options....
But, for example, in using the CreateOne*Input type for the createOne resolver, the discriminatorKey field isnt included in the generated type.

So for the documentation example-
``` CharacterSchema.set('discriminatorKey', 'type');```
The ```type``` field is not included in the ```CreateOneDroidInput```
Is it possible to include it for the inputType?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.