Preserve matched history for removed fields
This commit is contained in:
@@ -49,7 +49,7 @@ func (m Metadata) effectiveField(path Path) (FieldInfo, bool) {
|
||||
// Unknown and invalid paths return nil.
|
||||
func (m Metadata) History(path Path) []Change {
|
||||
model := m.historyEvidence()
|
||||
if model == nil || !model.hasObservedShape(path) {
|
||||
if model == nil {
|
||||
return nil
|
||||
}
|
||||
selections := model.selectHistory(path)
|
||||
|
||||
Reference in New Issue
Block a user