SERVER-136041ClosedFixed

Add SchemaTypeInfo tests for unusual field paths

{{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. h2. 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 can

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.