smallrye-graphql
smallrye-graphql copied to clipboard
`@NonNull Optional<...>` should throw an error
Currently, Optional<?> fields annotated with @NonNull are marked as non-null in the schema.
It would be better if such conflicting types ("optional but not null") would throw an exception during schema creation to prevent errors.