Merge pull request #30730 from awanlin/docs/add-extra-property-note
docs - Added additional properties note to `1.40.0` release notes
This commit is contained in:
@@ -56,6 +56,16 @@ createTemplateAction({
|
||||
|
||||
```
|
||||
|
||||
:::note
|
||||
|
||||
As the new `zod` format is more strict if there are any additional properties in your Software Template YAML where you define your action it will trigger an `InputError`. Here is an exact example for reference:
|
||||
|
||||
> "InputError: Invalid input passed to action publish:github, instance is not allowed to have the additional property "allowedHosts"
|
||||
|
||||
To fix these you will simply need to remove the extra property details in your Software Template YAML where you define your action.
|
||||
|
||||
:::
|
||||
|
||||
The `scaffolder-backend` plugin has been converted to being New Backend System only, which means a lot of the public API has been cleaned up.
|
||||
|
||||
The `createRouter` and `createBuiltinActions` have been removed as they were only used in the legacy backend system.
|
||||
|
||||
Reference in New Issue
Block a user