Fix dynamic mapper bug with deeply nested fields.
This commit is contained in:
parent
94aa025b93
commit
a46d2f21c6
|
@ -316,7 +316,8 @@ final class DocumentParser implements Closeable {
|
|||
while (i < nameParts.length - 1 && last.getMapper(nameParts[i]) != null) {
|
||||
Mapper newLast = last.getMapper(nameParts[i]);
|
||||
assert newLast instanceof ObjectMapper;
|
||||
parentMappers.add((ObjectMapper)newLast);
|
||||
last = (ObjectMapper) newLast;
|
||||
parentMappers.add(last);
|
||||
++i;
|
||||
}
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue