Skip to content

Conversation

@kertal
Copy link
Member

@kertal kertal commented Dec 9, 2019

Summary

Follow up of #51562, deangularization and typescriptification of the saved_object usage in graph

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately

@kertal
Copy link
Member Author

kertal commented Dec 11, 2019

jenkins, test this

@kertal
Copy link
Member Author

kertal commented Dec 12, 2019

@elasticmachine merge upstream

@kertal kertal added Feature:Graph Graph application feature v7.6.0 release_note:skip Skip the PR/issue when compiling release notes v8.0.0 labels Dec 12, 2019
@kertal kertal marked this pull request as ready for review December 12, 2019 16:42
@kertal kertal requested review from a team and flash1293 December 12, 2019 16:42
Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and still works fine - LGTM besides one small nit

*/

export function extractReferences({ attributes, references = [] }) {
import { SavedObjectAttributes, SavedObjectReference } from 'kibana/server';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be imported from the server as this is client side code: import { SavedObjectAttributes, SavedObjectReference } from 'kibana/public'; - this will soon trigger a linting error

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍 I've changed that

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kertal kertal merged commit dbec0b1 into elastic:master Dec 13, 2019
@kertal kertal deleted the kertal-pr-2019-12-09-np-saved-object-graph branch July 6, 2020 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Graph Graph application feature Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants