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
Currently, useCollection hook generic uses the same Resource type for resource and items fields. This seems not right, because in most cases, these will be completely different types. The collection type can be empty or e.g. contain (as in our use case) information about pagination; the item type will contain the data fields for the individual items. Or am I missing something?
The text was updated successfully, but these errors were encountered:
Currently, useCollection hook generic uses the same Resource type for resource and items fields. This seems not right, because in most cases, these will be completely different types. The collection type can be empty or e.g. contain (as in our use case) information about pagination; the item type will contain the data fields for the individual items. Or am I missing something?
The text was updated successfully, but these errors were encountered: