-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
PathArrayness::canPathBeArray() has tests for unusual FieldRef paths, including empty paths and components, trailing dots, dollar-prefixed names, and excessive depth. SchemaTypeInfo::canPathBeArray() should have comparable coverage. Embedded nulls should also be tested.
Scope
Add focused SchemaTypeInfo tests for these paths against both known field types and unknown shapes. Verify that lookup does not throw and that its arrayness result is conservative when the path cannot be resolved. Do not assume every path rejected by FieldPath is invalid for SchemaTypeInfo; establish the expected behavior for each case.