Skip to content

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Jun 11, 2025

Checklist (if applicable):

Sorry, something went wrong.

@pavelgj pavelgj requested a review from ifielker June 11, 2025 20:33
@pavelgj pavelgj marked this pull request as ready for review June 11, 2025 20:33
* Creates a new child registry overlaid onto this registry instance.
*/
child(): Registry {
throw new Error('Method not implemented.');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we implement the new way before deprecating the old one? (Or at least a the same time). It can be frustrating to have something be deprecated and the replacement unimplemented.


it('returns all registered actions, including parent', async () => {
const child = Registry.withParent(registry);
const child = registry.child();
Copy link
Collaborator

Choose a reason for hiding this comment

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

If child is unimplemented, how does this test work?

@pavelgj pavelgj marked this pull request as draft June 23, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants