aerogear / offix

GraphQL Offline Client and Server
https://offix.dev
Apache License 2.0
758 stars 45 forks source link

How to support offline handlers with the offset #334

Closed wtrocki closed 4 years ago

wtrocki commented 4 years ago

Feature Request

When implementing pagination we usually wrap the top level types into some container to get the field offset etc. Current offix API do not work with pagination due to the need of passing root type as return. We should enable capability of wrapping objects into pagination container that is well defined and recognized when making queries so we can effectively store elements in the cache

CC @darahayes

wtrocki commented 4 years ago

This is duplicate of the work we going to do with the pagination container.

@kingsleyzissou CC