Skip to content

Commit f765ed4

Browse files
committed
BUGFIX: Allow other value types for property migrations
Resolves: #22
1 parent a495790 commit f765ed4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

NodeMigration.Schema.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,11 @@
327327
"newValue": {
328328
"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.",
329329
"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>",
330-
"type": "string"
330+
"type": [
331+
"string",
332+
"number",
333+
"boolean"
334+
]
331335
},
332336
"search": {
333337
"description": "Search string to replace in current property value.",

examples/Version20140708120530.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ up:
1818
-
1919
type: 'MyCustom'
2020
settings: []
21+
-
22+
type: 'ChangePropertyValue'
23+
settings:
24+
property: 'myBooleanProperty'
25+
newValue: false
2126
-
2227
filters:
2328
-

0 commit comments

Comments
 (0)