-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Minor Change
-
Repl 2021-02-08
We allow BSON representation of an Array to be parsed to array without checking the type of the BSON object , ex: *
{“0” : “hello”, “1” : “world” }* is accepted as array<string> => [“hello”, “world”]
As we adding more strict rules to our inputs/outputs for our command, we will enforce that BSON should be of array type to be parsed as array, to prevent future confusion if we start accepting (Object, array) types for the same field.