Skip to content
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

Fix backfill for subcollections (redo) #92

Closed
wants to merge 3 commits into from

Conversation

vazome
Copy link

@vazome vazome commented Nov 3, 2024

Change Summary

Resubmission of #52 with modified README description.

With these changes, the backfill will now work also for subcollections, not only for "root" collection. If the collection path is something like users/{userId}/items the sync has already worked, but the backfill did not as the documents were queried with this collection path, but that did not work. Instead, we use the collectionGroup feature now with only the last part of the path.

PR Checklist

@vazome vazome changed the title Fix pr 52 branch Fix backfill for subcollections (redo) Nov 3, 2024
@vazome
Copy link
Author

vazome commented Nov 3, 2024

@jasonbosco please take a look

@vazome
Copy link
Author

vazome commented Nov 3, 2024

Did not notice that initial file got renamed and improved. This would need to wait then. Closing PR

@vazome vazome closed this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants