support oneof for array type

This commit is contained in:
codetypes committed 2025-04-13 20:19:47 +08:00
1 parent 826b69a587
commit de9c9a48c9
6 files changed
+175 -117

No files matched your search

+14
View File
@@ -416,5 +416,19 @@
}
],
"desc": "等待"
},
{
"name": "TestOneof",
"desc": "测试oneof",
"type": "Action",
"input": ["选项?"],
"args": [
{
"name": "option",
"desc": "选项",
"type": "int[]?",
"oneof": "选项"
}
]
}
]
+9
View File
@@ -104,6 +104,15 @@
"args": {
"builtin": "afterRunFailure"
}
},
{
"id": "13",
"name": "TestOneof",
"input": [
"context"
],
"output": [],
"args": {}
}
]
}