opensearch-net icon indicating copy to clipboard operation
opensearch-net copied to clipboard

[FEATURE] Provide a way to make `.Strict(true)` be the default behavior for all queries

Open DumboJet opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

Applying the .Strict(true) to each sub-query is a lot of work and you can always miss something.

What solution would you like?

Having a way to make .Strict(true) be the default behavior (perhaps for a QueryContainer and all its children?) would probably be a nice feature. It would save people from a lot of silent bugs, where queries become conditionless and are not serialized.

DumboJet avatar Sep 25 '23 11:09 DumboJet