kibana/packages/core/saved-objects/core-saved-objects-api-server-internal
Pierre Gayvallet 0a0d82216f
[SOR] validation schema: use previous version (#156665)
## Summary

Fix https://github.com/elastic/kibana/issues/156423

We were only using the schema for validation if its version was an
*exact* match with the current stack version, meaning that any previous
schema was ignored (and even introducing a minor was causing the schema
to be ignored).

This PR addresses it, by always using the closest previous schema
available.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-05-08 00:48:09 -07:00
..
src [SOR] validation schema: use previous version (#156665) 2023-05-08 00:48:09 -07:00
index.ts Migrate remaining parts of server-side SO domain to packages (#139305) 2022-08-26 01:53:37 -07:00
jest.config.js Migrate remaining parts of server-side SO domain to packages (#139305) 2022-08-26 01:53:37 -07:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Migrate remaining parts of server-side SO domain to packages (#139305) 2022-08-26 01:53:37 -07:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/core-saved-objects-api-server-internal

This package contains the internal implementation of core's server-side savedObjects client and repository.