Skip to content

Draft: Bypass instance proxy for index creation

Madelein van Niekerk requested to merge chore/elastic-types-bypass-proxy into master

What does this MR do and why?

Cherry-picked changes from !151636 (merged) that are required to create a new index.

We want this change to be in master so that #465379 isn't blocked for creating a new index.

  • Helper tries to find a matching class in Search::Elastic::Types::, otherwise fallback to proxy.
  • Created WorkItem type so that the module exists: it is populated in !151636 (merged).

Eventually we will remove the instance proxies and have everything created via the index types.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports