You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently creating an empty group using .and(q -> q) or .or(q -> q) will result in an empty expression group which will make the query fail.
Describe the solution you'd like
Instead of producing invalid sql the empty group (and the preceding conjunction) shouldn't be rendered.
Describe alternatives you've considered
An alternative would be to produce an always false expression but that's probably not what somebody would expect and makes building optional clauses way harder.
Activity
Implemented #36 (don't render empty groups)
JanHolger commentedon May 1, 2022
Fixed in 1.0.2