elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

[Connector API] Change UpdateConnectorFiltering API to have better defaults

Open efegurkan opened this issue 1 year ago • 3 comments

This changes validation behaviour for rules to have better defaults instead of throwing. The following cases changed to not throw:

  • When "rules" is an empty array, instead of throwing we attach a default rule
  • When "rules" have items but doesn't have default rule, we append a default rule.
  • Rules array will be ordered and default will be moved as the last

efegurkan avatar May 14 '24 11:05 efegurkan

Pinging @elastic/ent-search-eng (Team:Enterprise Search)

elasticsearchmachine avatar May 14 '24 11:05 elasticsearchmachine

Hi @efegurkan, I've created a changelog YAML for you.

elasticsearchmachine avatar May 15 '24 08:05 elasticsearchmachine

Hi @efegurkan, I've created a changelog YAML for you.

elasticsearchmachine avatar May 15 '24 11:05 elasticsearchmachine