Skip to content
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

Expose getters for SavedObjectTypeRegistry type definitions #58414

Closed
jportner opened this issue Feb 24, 2020 · 1 comment · Fixed by #57430
Closed

Expose getters for SavedObjectTypeRegistry type definitions #58414

jportner opened this issue Feb 24, 2020 · 1 comment · Fixed by #57430
Labels
enhancement New value added to drive a business result Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@jportner
Copy link
Contributor

Describe the feature: Plugins currently can't access any information about registered SavedObjectType definitions. Some plugins (spaces, encryptedSavedObjects) create wrappers for the SavedObjectsClient, and these wrappers should be able to access type definition information (e.g., isHidden, isNamespaceAgnostic, etc.).

Describe a specific use case for the feature: Shareable saved objects phase 1 (#54043) needs to make modifications to the EncryptedSavedObjectsClientWrapper to change its behavior based on whether a type is shareable or not.

@jportner jportner added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc enhancement New value added to drive a business result labels Feb 24, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants