Skip to content

InputTypes generated for Discriminators #326

Open
@MatthewJonD

Description

@MatthewJonD

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions