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

GO-4284 Remove Relation links #2145

Open
wants to merge 10 commits into
base: feature/primitives
Choose a base branch
from

Conversation

KirillSto
Copy link
Member

@KirillSto KirillSto commented Feb 20, 2025

https://linear.app/anytype/issue/GO-4284/get-rid-of-relation-links

  • remove relationLinks from state. Now list of relations is calculated based on details
  • relationLinks are depricated in Snapshots
  • relation addition means detail addition with Null value
  • relation removal means detail removal
  • relationLinks used to carry relation format. Now format is fetched from object store
  • on state build empty details are not ignored anymore
  • We do not generate ChangeRelationAdd and ChangeRelationRemove changes anymore
  • RelationLinks are removed from responses of History, ObjectView and ObjectOpen rpcs

Copy link

github-actions bot commented Feb 20, 2025

New Coverage 50.7% of statements
Patch Coverage 60.6% of changed statements (354/584)

Coverage provided by https://github.com/seriousben/go-patch-cover-action

@KirillSto KirillSto self-assigned this Feb 21, 2025
@KirillSto KirillSto marked this pull request as ready for review February 21, 2025 15:49
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