catalog-model: Deprecate entity.metadata.generation

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-02-23 13:29:46 +01:00
parent 0b51cbdecf
commit da44c47f43
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-model': patch
---
Deprecated the `entity.metadata.generation` field which has been superseded by `entity.metadata.etag`.
@@ -116,6 +116,7 @@ export type EntityMeta = JsonObject & {
* This field can not be set by the user at creation time, and the server
* will reject an attempt to do so. The field will be populated in read
* operations.
* @deprecated replaced by etag.
*/
generation?: number;