-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Saved Objects] Allow exporting and importing hidden types #90178
[Saved Objects] Allow exporting and importing hidden types #90178
Conversation
…/export_import_hidden_types
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.
Draft review
…/export_import_hidden_types
…/export_import_hidden_types
⏳ Build in-progress, with failures
History
To update your PR or re-run it, just comment with: |
@elasticmachine merge upstream |
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.
Implementation looking good. Just need some plugin_functional
FTR tests and it will be perfect!
const includedHiddenTypes = chain(typesToInclude) | ||
.uniq() | ||
.filter( | ||
(type) => typeRegistry.isHidden(type) && typeRegistry.isImportableAndExportable(type) | ||
) | ||
.value(); |
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.
NIT: block used at least in 3 routes, may want to factorize.
…/export_import_hidden_types
…/export_import_hidden_types
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 would add a FTR test to ensure that exportable+hidden types are visible in the SO management UI
Apart from that, LGTM!
…/export_import_hidden_types
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
) (#91351) Co-authored-by: Kibana Machine <[email protected]>
Closes #82027