Skip to content

Commit

Permalink
Fix origin, again
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Mar 11, 2024
1 parent f948f60 commit 9d3fad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/owl/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ func mutateLoadOrUpdate(revived SetVarItems, resolverOpSet *OperationSet, hasSpe
if old, ok := resolverOpSet.values[r.Var.Key]; ok {
oldCreated := old.Var.Created
r.Var.Created = oldCreated
if old.Var.Operation != nil {
if old.Var.Origin != "" {
source = old.Var.Origin
} else if old.Var.Operation != nil {
source = old.Var.Operation.Source
}
}
Expand Down

0 comments on commit 9d3fad9

Please sign in to comment.