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

Documentation: Explain the difference between record links and edge relations #942

Open
2 tasks done
macjuul opened this issue Oct 16, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@macjuul
Copy link
Collaborator

macjuul commented Oct 16, 2024

Description

It is not clear what the pros and cons are for both record links and edge relations, and how you make the decision on which to use.

For example, some benefits of record links:

  • Easy to use and represented within a document
  • Can be placed into an array to easily track ordering
  • Can be used to represent non-existing records

Benefits for edge relations:

  • Can be accessed bi-directionally
  • Automatically cleaned up when either side is removed
  • Can store information on the relation

There should be a dedicated page explaining this, possibly under concepts

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@macjuul macjuul added the documentation Improvements or additions to documentation label Oct 16, 2024
@macjuul macjuul closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
@Ekwuno Ekwuno reopened this Oct 16, 2024
@Ekwuno Ekwuno self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants