config-schema incorrectly fails validation on optional props on objects #55966
Labels
blocker
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
Kibana version:
7.7
Describe the bug:
I’ve encountered an issue in config-schema.
We have a key that’s optional on an object and for some reason, it doesn't pass validation.
Steps to reproduce:
Just put this in your test suite.
This test, weirdly, doesn’t pass.
It throws this:
But this one does:
Expected behavior:
Should pass validation.
The text was updated successfully, but these errors were encountered: