Skip to content

ListOf and Nullable must not allow putting input types where output types expected and vice versa #510

Description

@xperiandri

Description

If you wrap input type into ListOf or Nullable you can use it like an output type and vice versa which may produce wrong schema

Expected behavior

Impossible to produce invalid schema at compile-time

Actual behavior

Schema can be corrupted and it will be known only on its consumption

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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