Remove saved object examples that promote accessing index patterns directly from the SO client #90077
Labels
DevDocs
needs_docs
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
There are many places in our code base that access Index Patterns directly via the SO client and not through the Index Pattern Service. As it happens, many saved object examples show this, which could be proliferating the problem. We should remove these as examples and document this as an anti-pattern. If you don't own the saved object in question, you probably shouldn't be accessing it directly through the SO client, but rather through the owning plugin's API.
Related
The text was updated successfully, but these errors were encountered: