Replies: 1 comment
-
Apparently I can't read docs... https://watermelondb.dev/docs/Sync/Frontend#advanced-replacement-sync |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So if a user logs in, we sync all the data relevant to them to avoid leaking data they shouldn't see. If they are then granted additional permissions, we need to resync to get any data they weren't authorized to get before. Recalling sync with lastPulledAt set to 0 works but we get a lot of warnings about how "this should never happen". I was curious if there was a proper way to perform this resync.
Beta Was this translation helpful? Give feedback.
All reactions