Skip to content

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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// Feature:New Platform v7.6.0 labels Oct 28, 2019
@azasypkin azasypkin requested a review from mshustov October 28, 2019 09:37
@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.
@azasypkin azasypkin force-pushed the issue-xxx-kbn-config-schema branch from 0b9f235 to 97a55c9 Compare October 28, 2019 10:52
@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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants