1135
updatedFieldV reflect.Value,
1136
err error,
1138
>
internalV := fieldV.FieldByName(internalFieldName)
1139
>
//nolint:revive // Internal field is guaranteed to be of type fieldInternal.
1140
>
internal := internalV.Interface().(fieldInternal)
1141
>
if internal.isEmpty() {
1142
// Internal is empty only when Field was explicitly set to NewEmptyField[T] which is a way to clear its value.
1143
// In this case, return keepNode=false and this node (and all it children) will be added to DeletedNodes map.