-
Notifications
You must be signed in to change notification settings - Fork 108
Support for local state management #202
Comments
@MargaretKrutikova We've been using
Fortunately
Getting all of it to work like we’d expect is another matter entirely, but just getting it functional should only require two things: 1. Get your local state’s schema into the
|
Apollo Client
added built-in local state management starting from version 2.5, where you can use@client
directive in a graphql query or mutation and create own local resolvers for the local data.This seems like a great way to deal with all application's state, regardless of whether it comes from the server or managed locally.
This would mean upgrading
apollo-client
to the latest version (now2.6.3
, whilereason-apollo
currently depends on2.4.7
). I am also not sure, but I assume using@client
directive would require changes in graphql_ppx too? Does anyone have an idea of the scope of this change?I would really love to see this implemented in the library and am ready to help 🙂
Issue Labels
The text was updated successfully, but these errors were encountered: