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

Update useDocuments to return map keyed by AutomergeUrl #379

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

msakrejda
Copy link
Contributor

The recommended mechanism seems to be to store Automerge URLs when referencing other documents, not just plain document ids, so it seems more natural to key the map returned from useDocuments by URL rather than by id.

See discussion in https://discord.com/channels/1200006940210757672/1202325266937159690/1277333966575374356

The recommended mechanism seems to be to store Automerge URLs when
referencing other documents, not just plain document ids, so it seems
more natural to key the map returned from useDocuments by URL rather
than by id.

See discussion in https://discord.com/channels/1200006940210757672/1202325266937159690/1277333966575374356
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