We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ff410d commit 6177592Copy full SHA for 6177592
1 file changed
test/interop/test_interop.jl
@@ -29,11 +29,13 @@ const EXPECTED = Dict(
29
30
function _normalize(v)
31
# SurrealDB returns ints as Int64 and floats as Float64; numeric equality
32
- # already handles cross-type. Strings, bools, nothing pass through. Vectors
33
- # need recursive normalization for the array_mixed case.
+ # already handles cross-type. Strings, bools pass through. Vectors recurse
+ # for the array_mixed case. CBOR-decoded `null` inside an array surfaces
34
+ # as `Missing`; collapse to `nothing` so == doesn't return `missing`.
35
if v isa AbstractVector
36
return Any[_normalize(x) for x in v]
37
end
38
+ v isa Missing && return nothing
39
return v
40
41
0 commit comments