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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My question is about pagination with the annotation-based approach by adding the
[UsePaging]
-attribute to a field.I have a simple Query class which has a field Authors that should support pagination.
The GraphQL schema generated by Hot Chocolate is:
Shouldn't
authors
always return a connection even if there are no items?I would rather have the type declared as non-null:
AuthorsConnection!
by default.Any thougths on this?
Beta Was this translation helpful? Give feedback.
All reactions