-
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
[skip ci] prototype for saved objects relationships #27155
[skip ci] prototype for saved objects relationships #27155
Conversation
Pinging @elastic/kibana-platform |
return this.hydrateIndexPattern(); | ||
}).then(() => { | ||
injectReferences.call(this, resp.references); |
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.
This can probably be moved after parseSearchSource
and implemented in a way that doesn't touch this
.
panel.type = reference.type; | ||
delete panel.panelReference; | ||
}); | ||
this.panelsJSON = JSON.stringify(panels); |
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.
Probably have a way that doesn't modify this
and works with arguments instead.
ce1afed
to
11f7e20
Compare
11f7e20
to
b0b9333
Compare
Closing this in favour of the implementation PR (#28199) that is based from this. |
do not merge
I wrote up a basic prototype of how we can save references into each saved objects and put them back into the object after reading.
This prototype is functional for dashboards, visualizations (from index pattern) and saved searches. What's left is visualizations from a saved search and test timelion / graph for index patterns.
See #27210.