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: import versions correctly #5

Closed
wants to merge 1 commit into from

Conversation

EvanHahn
Copy link
Contributor

Previously, we weren't correctly importing versioned documents. I incorrectly assumed we could just use the version property, and that we could ignore links.

This updates the importer to correctly create and update documents.

Effectively, it loops over all of a document's versions, creating or updating them when all of its links are available.

Previously, we weren't correctly importing versioned documents. I
incorrectly assumed we could just use the `version` property, and that
we could ignore `links`.

This updates the importer to correctly create and update documents.

Effectively, it loops over all of a document's versions, creating or
updating them when all of its links are available.
@EvanHahn EvanHahn requested a review from gmaclennan December 11, 2024 19:21
@EvanHahn
Copy link
Contributor Author

Superceded by digidem/comapeo-core#978.

@EvanHahn EvanHahn closed this Dec 18, 2024
@EvanHahn EvanHahn deleted the fix-import-versions-correctly branch December 18, 2024 18:11
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