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

order allows incongruent ordering #19

Open
JavierLuna opened this issue Oct 7, 2019 · 1 comment
Open

order allows incongruent ordering #19

JavierLuna opened this issue Oct 7, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@JavierLuna
Copy link
Owner

Have exceptions to indicate incongruent use of the query methods.

Describe your usecase

I'd like the library to fail before issuing a non-sense query. Example: Ordering by the same field twice but one of them inverted.

Solution proposed

Throw an exception if malformed queries are assembled.

@JavierLuna JavierLuna added the enhancement New feature or request label Oct 7, 2019
@JavierLuna JavierLuna self-assigned this Oct 7, 2019
@JavierLuna
Copy link
Owner Author

Throw exception when projecting with no fields in only

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