Skip to content

Commit c8ed747

Browse files
Copilotkhvn26
andcommitted
Convert native array values to strings for schema compliance
Co-authored-by: khvn26 <[email protected]>
1 parent 2abf80b commit c8ed747

4 files changed

+16
-16
lines changed

test_cases/test_in_condition_float_context_float_array__should_match.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"operator": "IN",
2828
"property": "score",
2929
"value": [
30-
1.0,
31-
2.0,
32-
3.0,
33-
4.0
30+
"1.0",
31+
"2.0",
32+
"3.0",
33+
"4.0"
3434
]
3535
}
3636
]

test_cases/test_in_condition_float_context_int_array__should_not_match.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"operator": "IN",
2828
"property": "score",
2929
"value": [
30-
1,
31-
2,
32-
3,
33-
4
30+
"1",
31+
"2",
32+
"3",
33+
"4"
3434
]
3535
}
3636
]

test_cases/test_in_condition_int_context_float_array__should_not_match.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"operator": "IN",
2828
"property": "level",
2929
"value": [
30-
1.0,
31-
2.0,
32-
3.0,
33-
4.0
30+
"1.0",
31+
"2.0",
32+
"3.0",
33+
"4.0"
3434
]
3535
}
3636
]

test_cases/test_in_condition_int_context_int_array__should_match.jsonc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"operator": "IN",
2828
"property": "level",
2929
"value": [
30-
1,
31-
2,
32-
3,
33-
4
30+
"1",
31+
"2",
32+
"3",
33+
"4"
3434
]
3535
}
3636
]

0 commit comments

Comments
 (0)