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.
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.