CoreSync icon indicating copy to clipboard operation
CoreSync copied to clipboard

Docs: Syncing user data

Open tanakamawere opened this issue 5 months ago • 3 comments

Hie there. Thank you for the library. I got syncing up and running and now I want to customise it such that a user doesn't get all the data on the api, just theirs synced to their device. I am playing around with SyncFilterParameters but not too sure how it's supposed to be done.

tanakamawere avatar Aug 11 '25 09:08 tanakamawere

Have you looked at this test? https://github.com/adospace/CoreSync/blob/dbf39d6aaee1f4895f450303b6c19bbf00ccd445/src/CoreSync.Tests/IntegrationTests.cs#L1031

adospace avatar Aug 14 '25 19:08 adospace

You know what, I was so focused rummaging the other projects, it didn't cross my mind to check the tests project! Which makes sense.

Thanks. I will do that in the morning and give you feedback on how it goes.

Just a quick look at it, can you please point me in the direction of where the following "see definition" is

NOTE: remoteSyncProvider is already configured to accept a sync filter @userId on user (see definition)

However, I still do think dedicated docs would be best. Are there any plans for that or I could make a pull request with docs of what I am implementing my side?

tanakamawere avatar Aug 16 '25 00:08 tanakamawere

Nah please spell it out for me, couldn't figure it out for the life of me

tanakamawere avatar Aug 25 '25 14:08 tanakamawere