-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
It's less error-prone to force users to explicitly state whether they expect a document or array as opposed to doing type deduction on their behave. It could also be faster if we forgo the initial check to test whether the given initializer list is a valid document.