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

Allow arrays to be specified @nonNull #2

Open
LasseBlaauwbroek opened this issue May 29, 2021 · 1 comment
Open

Allow arrays to be specified @nonNull #2

LasseBlaauwbroek opened this issue May 29, 2021 · 1 comment

Comments

@LasseBlaauwbroek
Copy link

At the moment, there seems to be no way to specify that the elements of an array are non-null. I'd propose an extension for array types:

@nonNull field            ----> [Field]!
@nonNull field[]         ----> [Field!]
@nonNull field[]         
@nonNull field            ----> [Field!]!
@enisdenjo
Copy link
Member

Hey there, this plugin is a bit obsolete. The @notNull smart comment is available in PostGraphile as a built-in. This plugin is mostly useful for its PgNonNullRelationsPlugin part.

I'd recommend opening an issue over at graphile/postgraphile or joining the Discord channel and making an inquiry there.

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

2 participants