Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xperiandri opened this issue Jan 4, 2025 · 0 comments

Comments

@xperiandri
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant