-
Notifications
You must be signed in to change notification settings - Fork 25
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
should dup behavior be reverted? #354
Comments
the bad part of this design is if user wants to construct query conditionally, they'd have to define the query as mutable, such as: let query = Post.where({ published: true });
query = query.where('commentCount > ?', commentCount); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The design of dup is mostly to solve confusing usages like below:
The text was updated successfully, but these errors were encountered: