feat(catalog-backend): permit entity field subselection (#3142)

This commit is contained in:
Fredrik Adelöw
2020-10-28 15:39:10 +01:00
committed by GitHub
parent 5e8a88bc9a
commit 183e2a30de
5 changed files with 119 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/plugin-catalog-backend': patch
---
Add support for `fields` sub-selection of just parts of an entity when listing
entities in the catalog backend.
Example: `.../entities?fields=metadata.name,spec.type` will return partial
entity objects with only those exact fields present and the rest cut out.
Fields do not have to be simple scalars - you can for example do
`fields=metadata`.