Merge pull request #9758 from backstage/jhaals/deprecate-generation
catalog-model: Deprecate `entity.metadata.generation`
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/catalog-model': patch
|
||||
---
|
||||
|
||||
Deprecated the `entity.metadata.generation` as the field has never been fully functioning.
|
||||
@@ -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 field is not supported.
|
||||
*/
|
||||
generation?: number;
|
||||
|
||||
|
||||
@@ -38,7 +38,8 @@
|
||||
"type": "integer",
|
||||
"description": "A positive nonzero number that indicates the current generation of data for this entity; the value is incremented each time the spec changes. 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.",
|
||||
"examples": [1],
|
||||
"minimum": 1
|
||||
"minimum": 1,
|
||||
"deprecated": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user