Thanks for making this library!
I've been trying out this library with this example.
And I've reached a point where during offline, the changes I made locally is not synced when the connection is re-established.
I can tell because the product id is not assigned if it is created offline.
I made sure syncLocal is true.
final productsState = ref.products.watchAll( syncLocal: true );
and I tried:
// this action only overwrites my local state with server state
await ref.products.appwriteAdapter.findAll(syncLocal: true);
How do I perform such action? Does this package provide this feature?
I do see there's a merge function, is that the one? Can you show me how it works?
Many thanks!
Thanks for making this library!
I've been trying out this library with this example.
And I've reached a point where during offline, the changes I made locally is not synced when the connection is re-established.
I can tell because the product id is not assigned if it is created offline.
I made sure syncLocal is true.
final productsState = ref.products.watchAll( syncLocal: true );and I tried:
// this action only overwrites my local state with server state
await ref.products.appwriteAdapter.findAll(syncLocal: true);How do I perform such action? Does this package provide this feature?
I do see there's a merge function, is that the one? Can you show me how it works?
Many thanks!