If there are nested fields and there is an error in one of the nested subfields, the field returned in the error is just the name of the leaf field.
What this does is store the parents of a nested field so if you had a nested schema like this:
document -> author -> name.Str() the field returned in the error would just be name, losing the information about its parents. This PR would also add parents=['document', 'author']
If there are nested fields and there is an error in one of the nested subfields, the
field
returned in the error is just the name of the leaf field.What this does is store the parents of a nested field so if you had a nested schema like this:
document
->author
->name.Str()
the field returned in the error would just bename
, losing the information about its parents. This PR would also addparents=['document', 'author']