Separate projection cloning and value comparison
This commit is contained in:
@@ -126,7 +126,7 @@ func (r *Result[T]) Explain(path Path) (Explanation, bool) {
|
||||
// explicitly, including canonical scalar conversions, before domain changes.
|
||||
replayed, _ := documentAtPath(working, path)
|
||||
decoded, _ := documentAtPath(r.input, path)
|
||||
if !documentNodesEqual(replayed, decoded) {
|
||||
if !configurationValuesEqual(replayed, decoded) {
|
||||
origin := cloneOrigin(r.inputOrigins[path.String()])
|
||||
origin.Operation = ChangeDecoding
|
||||
explanation.History = append(explanation.History, ValueChange{
|
||||
|
||||
Reference in New Issue
Block a user