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
We're using a graph-api-generator library to generate all types in the frontend.
Queries always return a result -never null- and we have Angular 13 with strict typing.
When we generate the types, the outputTypes are generated as Type | null | undefined or Type | any.
I wonder if there is a way in backend to indicate non-null results (as in NonNull for input) ? If there is, how? :)
Thanks
The text was updated successfully, but these errors were encountered:
We're using a graph-api-generator library to generate all types in the frontend.
Queries always return a result -never null- and we have Angular 13 with strict typing.
When we generate the types, the outputTypes are generated as
Type | null | undefined
orType | any
.I wonder if there is a way in backend to indicate non-null results (as in NonNull for input) ? If there is, how? :)
Thanks
The text was updated successfully, but these errors were encountered: