Skip to content

Commit

Permalink
BUGFIX: Allow other value types for property migrations
Browse files Browse the repository at this point in the history
Resolves: #22
  • Loading branch information
Sebobo committed Feb 14, 2024
1 parent a495790 commit f765ed4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NodeMigration.Schema.json
Expand Up @@ -327,7 +327,11 @@
"newValue": {
"description": "New property value to be set.\n\nThe value of the option currentValuePlaceholder (defaults to “{current}”) will be used to include the current property value into the new value.",
"x-intellij-html-description": "<p>New property value to be set.\n\nThe value of the option <code>currentValuePlaceholder</code> (defaults to “{current}”) will be used to include the current property value into the new value.</p>",
"type": "string"
"type": [
"string",
"number",
"boolean"
]
},
"search": {
"description": "Search string to replace in current property value.",
Expand Down
5 changes: 5 additions & 0 deletions examples/Version20140708120530.yaml
Expand Up @@ -18,6 +18,11 @@ up:
-
type: 'MyCustom'
settings: []
-
type: 'ChangePropertyValue'
settings:
property: 'myBooleanProperty'
newValue: false
-
filters:
-
Expand Down

0 comments on commit f765ed4

Please sign in to comment.