Skip to content

Conversation

@alexbran8
Copy link

Description

This PR adds support for syncing and replicating from a custom scope and collection.
This enables replication from databases that contain multiple scopes and collections, not just the _default ones.

Changes

  • updated request URL construction to include scope and collection as part of the database path
    (e.g. myAppSync.orders.data/_changes)
  • defaulted scope and collection to _default when not provided

Not covered stuff

  • tests (happy to add updates if could be helped with a bit more context)

Test cases

  • replication/sync from custom scope and collection
  • replication from default scope and collection

@alexbran8 alexbran8 changed the title Feat: Add scope and collection to replication [DRAFT] Feat: Add scope and collection to replication Jan 30, 2026
@alexbran8 alexbran8 changed the title [DRAFT] Feat: Add scope and collection to replication [DRAFT] Feat: Add custom scope and collection to replication Jan 30, 2026
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.

1 participant