[@kbn/config-schema] Improve extends
and rename it to intersection
#185018
Labels
kbn/config-schema
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
🍒 Summary
At the moment, for intersection functionality (similar to what we have in io-ts and zod), we can use
extends
:The idea is to extend
extends
functionality to support multiple inputs (c = a.extends(b, d, e, f, g)
) and use the nameintersection
to match other libraries for easier discoverability. (example usage in Kibana)The text was updated successfully, but these errors were encountered: