-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AC 3 Docs
Make remaining local state updates to Docs
#10176
Comments
AC 3 Docs
Make remaining local state updates to Docs
Notes and questionsPlease do feel free to weigh in on these ideas! Add a mutation exampleRegarding local state, I think #6711 (comment) summarizes the example we'll want to add to Add a merge function exampleThe following documents demonstrate the
There's nothing in the Handling async operations with field policiesSince #9274 is still open, let's use @benjamn's example in apollographql/apollo-feature-requests#383 as a template. We should explain more about why reads are synchronous out of the box and how to implement your own asynchronous read function. |
@bignimbus this looks great! Mutations with field policies are definitely different than the older local state resolver mutation capabilities, and our docs are sorely lacking details on this, so that section will probably require the most attention. The main point to get across is that the newer type/field policy API is all about the cache and working with cache fields, not about running resolvers (and mutations). The new API gives read/write hooks into the cache that can be combined with GraphQL operations using Thanks for working on this! |
AC 3 Docs
Make remaining local state updates to Docs #10176The text was updated successfully, but these errors were encountered: