Merge pull request #16739 from backstage/blam/fix-catalog-write-action

Fix catalog write action so that you can pass through props
This commit is contained in:
Ben Lambert
2023-03-07 15:07:58 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
catalog write action should allow any shape of object
@@ -70,6 +70,7 @@ export function createCatalogWriteAction() {
// TODO: this should reference an zod entity validator if it existed.
entity: z
.object({})
.passthrough()
.describe(
'You can provide the same values used in the Entity schema.',
),