-
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
value suggestions server route -> data plugin #53191
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
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.
Tested and LGTM
Left a couple of comments
@@ -20,6 +20,7 @@ | |||
import { IFieldType } from './fields'; | |||
|
|||
export interface IIndexPattern { | |||
[key: string]: any; |
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.
Why 🤔 ?
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
Copied from /data/public/index_patterns/index_patterns/index_pattern.ts
I need it cause for server code we get fields
from IndexPattern.attributes
. It's valid only for server code but I didn't wanted to introduce new types for server/index_patterns
If it's critical I can refactor this part
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* value suggestions server route -> data plugin Closes elastic#52842 * fix PR comments * fix PR comments
Closes #52842
Summary
The suggestionsProvider has already been moved to the new platform data plugin in src/plugins/data/public/suggestions_provider. There is also an api route that it depends on, which should be relocated as well:
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers