SERVER-137276ClosedFixed

Preserve the shadowed path suffix when looking up a field in dependency graph

lookupField() returns only a FieldId and FieldMatchType. When the field being looked up is shadowed (i.e. we're looking for a.b.c when the graph only has a.b), the suffix is not represented in the result, so callers have to later rebuild it / repeat the full lookup through canPathBeArray(ds, fullPath)

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.