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:
@@ -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.',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user