Skip to content

Commit

Permalink
fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
devsergiy committed Sep 26, 2023
1 parent 2aca045 commit c587b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/engine/plan/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (v *Visitor) AllowVisitor(kind astvisitor.VisitorKind, ref int, visitor int

enclosingTypeName := v.Walker.EnclosingTypeDefinition.NameString(v.Definition)
shouldWalkFieldsOnPath :=
// check if the field path has type condition and matches the enclosing type
// check if the field path has type condition and matches the enclosing type
config.shouldWalkFieldsOnPath(path, enclosingTypeName) ||
// check if the planner has path without type condition
// this could happen in case of union type
Expand Down

0 comments on commit c587b4d

Please sign in to comment.