opensearch-net
opensearch-net copied to clipboard
[FEATURE] Provide a way to make `.Strict(true)` be the default behavior for all queries
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.