Support for Generic NotNull
Sam-Kruglov opened this issue · comments
Read all the not null annotations (javax, idea, lombok etc) and treat them like GraphQLNonNull
. Also propagate these nonnulls from types to input types
-
All common non-null annotations (
javax.annotation.Nonnull
,javax.validation.constraints.NotNull
,org.jetbrains.annotations.NotNull
) are already supported everywhere. -
This is a project with samples only. Please open library issues on the library project.
Sorry, didn't realize it is a sample repo. For me didn't work, I'll try more and file a more detailed issue in case of failure
Make sure you're always on the latest version of SPQR (0.9.8 right now and 0.9.9 coming out tomorrow). That said, the common annotations have been supported for a long while now, so it would be surprising of you have any issues. Still, if you do find anything strange, please open a new issue.