You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a type is not declared for a parameter or output, our new validation of its jsonschema fails (because it doesn't have a default type).
To Reproduce
Create a bundle with a parameter or output and omit the type field.
Install the bundle.
Expected behavior
Either the bundle should fail to build, OR porter should default the type to something sensible such as string.
Porter Command and Output
$ porter install -c hello-keyvault hello-keyvault
<TRUNCATED OUTPUT>
execution completed successfully!
Error: 1 error occurred:
* error: [Getting a single type errored with "this schema has multiple types: <nil>" and getting multiple types errored with "this schema does not have multiple types: <nil>" Getting a single type errored with "this schema has multiple types: <nil>" and getting multiple types errored with "this schema does not have multiple types: <nil>"]
Version
v0.38.4
The text was updated successfully, but these errors were encountered:
Describe the bug
When a type is not declared for a parameter or output, our new validation of its jsonschema fails (because it doesn't have a default type).
To Reproduce
Expected behavior
Either the bundle should fail to build, OR porter should default the type to something sensible such as string.
Porter Command and Output
Version
v0.38.4
The text was updated successfully, but these errors were encountered: