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

Correctly process paths in mapOf and recordOf. Do not swallow and use indent for nested oneOf error messages. #49457

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

azasypkin
Copy link
Member

@azasypkin azasypkin commented Oct 28, 2019

While working on #46145 noticed a few deficiencies in kbn/config-schema:

  • Errors messages from nested oneOf are swallowed and not properly indented
  • The mapOf and recordOf use incorrect "path" while constructing error messages and hence lose full path that make it super hard to debug schema violations

@azasypkin azasypkin added bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform v7.6.0 labels Oct 28, 2019
@elasticmachine
Copy link
Contributor

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

@azasypkin azasypkin added the release_note:skip Skip the PR/issue when compiling release notes label Oct 28, 2019
…nd use indent for nested `one_of` error messages.
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elastic elastic deleted a comment from elasticmachine Oct 28, 2019
@elastic elastic deleted a comment from elasticmachine Oct 28, 2019
@azasypkin
Copy link
Member Author

7.x/7.6.0: 9664c0a

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported bug Fixes for quality problems that affect the customer experience Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants