[deprecations] Expose docLinks in the ConfigDeprecationContext
#131991
Labels
enhancement
New value added to drive a business result
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
As discussed in #112221, we'd like to make it as easy as possible for a
ConfigDeprecationProvider
to provide links to users to relevant documentation for addressing deprecated configs.In #114065 we exposed the current branch to the
ConfigDeprecationProvider
so that plugins could construct their own doc links manually. But now that #95389 has been addressed and the docLinks service is exposed on the server, a more convenient approach would be to provide thedocLinks
directly in theConfigDeprecationContext
:kibana/packages/kbn-config/src/deprecation/types.ts
Lines 70 to 80 in 5dbe273
This way plugins can leverage the existing doclinks infrastructure instead of building their own urls manually.
The text was updated successfully, but these errors were encountered: