Skip to content

Docs: Specify that Relationships may only be one-to-many or one-to-one#23934

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
glocq:document-relationship-types
Apr 22, 2026
Merged

Docs: Specify that Relationships may only be one-to-many or one-to-one#23934
alice-i-cecile merged 1 commit intobevyengine:mainfrom
glocq:document-relationship-types

Conversation

@glocq
Copy link
Copy Markdown
Contributor

@glocq glocq commented Apr 22, 2026

This may be deduced by observing that the Relationship component only stores one entity ID, but in my opinion, to become aware of such a fundamental limitation, one should not need to look at the implementation and do some deducing.

Tested by running cargo doc --no-deps from the root of the repository and opening the relevant webpage.

Specify that relationships may only be one-to-many at most
@kfc35 kfc35 added C-Docs An addition or correction to our documentation A-ECS Entities, components, systems, and events labels Apr 22, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in ECS Apr 22, 2026
@kfc35 kfc35 added S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 22, 2026
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 22, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Apr 22, 2026
Merged via the queue into bevyengine:main with commit 631610c Apr 22, 2026
53 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in ECS Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Docs An addition or correction to our documentation S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants