-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Data] Align deprecation messages #107175
Conversation
… data-cleanup/filters
Pinging @elastic/kibana-app-services (Team:AppServices) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. thanks for aligning!
@@ -9,8 +9,8 @@ import { IndexPatternFieldBase } from '@kbn/es-query'; | |||
import { FieldSpec, IndexPattern } from '../..'; | |||
|
|||
/** | |||
* @deprecated | |||
* Use IndexPatternField or FieldSpec instead | |||
* @deprecated Use `IndexPatternField` or `FieldSpec` instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if to use {@link IndexPatternField}
in such cases, then it will nicely popup as a link in docs
💚 Build Succeeded
Metrics [docs]Unknown metric groupsAPI count
API count missing comments
History
To update your PR or re-run it, just comment with: cc @lizozom |
💔 Backport failed
To backport manually run: |
* Move more utils to package and cleanup API * docs and imports * better imports * change comment * Better docs * typos * typo * Align deprecation messages * fixes * casting * Code review * Update meta_filter.ts * Update types.ts * Deprecate by 8.1 Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.buildqueryfromfilters.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.esqueryconfig.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.filter.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ifieldsubtype.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.kuerynode.md # src/plugins/data/server/server.api.md
* Move more utils to package and cleanup API * docs and imports * better imports * change comment * Better docs * typos * typo * Align deprecation messages * fixes * casting * Code review * Update meta_filter.ts * Update types.ts * Deprecate by 8.1 Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.buildqueryfromfilters.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.esqueryconfig.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.filter.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.ifieldsubtype.md # docs/development/plugins/data/server/kibana-plugin-plugins-data-server.kuerynode.md # src/plugins/data/server/server.api.md
* Move more utils to package and cleanup API * docs and imports * better imports * change comment * Better docs * typos * typo * Align deprecation messages * fixes * casting * Code review * Update meta_filter.ts * Update types.ts * Deprecate by 8.1 Co-authored-by: Kibana Machine <[email protected]>
*/ | ||
const convertRangeFilterToTimeRangeString = oldConvertRangeFilterToTimeRangeString; | ||
|
||
/** | ||
* Filter helpers namespace: | ||
* @deprecated Please import helpers from the package kbn/es-query directly. This import will be removed in v8.0.0. | ||
* @deprecated Import helpers from the "@kbn/es-query" package directly instead. | ||
* @removeBy 8.1 | ||
*/ | ||
export const esFilters = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lizozom I'm getting this deprecation warning in a WIP branch, but this constant does not exist in @kbn/es-query
... is this known/forthcoming?
Summary
Depends on #107169
Align deprecation messages with #106973
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers