isSaving parameter on @Shared to track if a save is in progress #131
woodymelling
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was working on implementing a SharedKey thats just based on making graphql queries and mutation for a specific type. The implementaton is pretty trivial, and just makes a query in the load block, and makes a mutation in the save block, with the subscription being empty (for now). This is basically the apps source of truth for the users settings, and we can let the user update it, synchronizing wit the server
The SharedKey conformance is straightforward, and lets us do this which works as expected.
But I would like to add a progress indicator when there's an in-flight request to save, and it doesn't seem like that's possible.
Beta Was this translation helpful? Give feedback.
All reactions