You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
In addition it does not take default value into account
2) making n not optional, but just int leads generated schema to have parametr with !
To sum up: it would be nice to have input type/argument default value support and (ideally) treating fields with default values as optional during schema generating.
P.S. the same functionality in sangria is implemented with annotation, but unfortenutly it fails to make a field optional
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, I will take a look.
Using the provided default values may be tricky, have to check if it is possible both in Scala 2 and Scala 3 macros. We can always fall back to defining an annotation for it of course.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Having toy type example
and 1 simple query returning default book I face some inconvenience moments.
leads to
In addition it does not take default value into account
2) making n not optional, but just int leads generated schema to have parametr with !
To sum up: it would be nice to have input type/argument default value support and (ideally) treating fields with default values as optional during schema generating.
P.S. the same functionality in sangria is implemented with annotation, but unfortenutly it fails to make a field optional
The text was updated successfully, but these errors were encountered: