Skip to content

Commit

Permalink
fix: allow more data types in the variable default field (#1644)
Browse files Browse the repository at this point in the history
Because

- the default value in the variable section can represent various data
types.

This commit

- expands support for additional data types in the variable default
field. Since the default value can be of any data type, we remove the
`type` limitation.
  • Loading branch information
donch1989 authored Dec 11, 2024
1 parent 795bcbc commit 1884bd7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/toolkit/src/view/recipe-editor/lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ export const InstillYamlSchema = {
description: {
type: "string",
},
default: {
type: "string",
},
default: {},
"instill-ui-multiline": {
type: "boolean",
},
Expand Down

0 comments on commit 1884bd7

Please sign in to comment.