fix(catalog-backend): let processors validate kinds (#3113)

This commit is contained in:
Fredrik Adelöw
2020-10-28 16:04:34 +01:00
committed by GitHub
parent 183e2a30de
commit 5adfc005e8
21 changed files with 289 additions and 208 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/catalog-model': minor
'@backstage/plugin-catalog-backend': minor
---
Changes the various kind policies into a new type `KindValidator`.
Adds `CatalogProcessor#validateEntityKind` that makes use of the above
validators. This moves entity schema validity checking away from entity
policies and into processors, centralizing the extension points into the
processor chain.