Skip to content

Commit

Permalink
fix feedback/linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Bijkerk committed Oct 28, 2024
1 parent 57ecbc7 commit 4f3f314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/federation/federation.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
_ "embed"
"errors"
"fmt"
"github.com/99designs/gqlgen/internal/rewrite"
"sort"
"strings"

Expand All @@ -13,6 +12,7 @@ import (
"github.com/99designs/gqlgen/codegen"
"github.com/99designs/gqlgen/codegen/config"
"github.com/99designs/gqlgen/codegen/templates"
"github.com/99designs/gqlgen/internal/rewrite"
"github.com/99designs/gqlgen/plugin/federation/fieldset"
)

Expand Down
2 changes: 1 addition & 1 deletion plugin/federation/fieldset/fieldset.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func parseUnnestedKeyFieldSet(raw string, prefix []string) Set {
continue
}

if unionField == true {
if unionField {
s = "... on " + s
unionField = false
}
Expand Down

0 comments on commit 4f3f314

Please sign in to comment.