Skip to content

30 avoid reserved parent and other not prefixed methods of referencable#32

Open
SusieGoebel wants to merge 34 commits into
mainfrom
30-avoid-reserved-parent-and-other-not-prefixed-methods-of-referencable
Open

30 avoid reserved parent and other not prefixed methods of referencable#32
SusieGoebel wants to merge 34 commits into
mainfrom
30-avoid-reserved-parent-and-other-not-prefixed-methods-of-referencable

Conversation

@SusieGoebel
Copy link
Copy Markdown
Member

No description provided.

…he type bounds. Also include getContainer since it is only used in the API methods
…needing to change some tests that expose containers e.g. for removal - which other methods should handle
…d in the single case where the proxy exposes no delete from a relationship option
@SusieGoebel SusieGoebel marked this pull request as ready for review June 3, 2026 08:21
@SusieGoebel SusieGoebel requested a review from Noah1891 June 3, 2026 08:21
Copy link
Copy Markdown
Collaborator

@Noah1891 Noah1891 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. When checking why we could leave out the delete method in re-tree-list and re-link-list-container.ts I discovered a bug when calling delete with RELAXED mode on a ReLinkListContainer, but this has nothing to do with this pull request though but should be fixed in another issue
  2. Since the goal also was to prevent reserving string names, would __referenceInitializers which is part of the prototype of Referenceable be such a case and could theoretically also be replaced by a symbol?

@SusieGoebel
Copy link
Copy Markdown
Member Author

  1. When checking why we could leave out the delete method in re-tree-list and re-link-list-container.ts I discovered a bug when calling delete with RELAXED mode on a ReLinkListContainer, but this has nothing to do with this pull request though but should be fixed in another issue
    Yes, issue created - please fill the test to show the bug in there.
  1. Since the goal also was to prevent reserving string names, would __referenceInitializers which is part of the prototype of Referenceable be such a case and could theoretically also be replaced by a symbol?
    Nice catch, I did it in commit dbf708b

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.

Avoid reserved parent and other not prefixed methods of referencable

2 participants