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

feat: Common Root Manager Operations should work with id #2995

Open
dickermoshe opened this issue May 5, 2024 · 0 comments
Open

feat: Common Root Manager Operations should work with id #2995

dickermoshe opened this issue May 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dickermoshe
Copy link
Collaborator

It would make more sense to have the top level APIs work on a single item.
For example, when deleting a single object, it is much shorter to write

todos.delete(5); 
todos.deleteAll();
//  than
product.filter((f) => f.id(5)).delete(); // Delete 5
todos.delete();  // Delete All

This would be a breaking change

@dickermoshe dickermoshe added the enhancement New feature or request label May 5, 2024
@dickermoshe dickermoshe changed the title feat: Root manager should work with id feat: Common Root Manager Operations should work with id May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant