File tree 4 files changed +6
-0
lines changed
4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ in the LICENSE file in the root directory of this source tree.
14
14
{{ $gqlNodes := filterNodes $.Nodes (skipMode "type") }}
15
15
16
16
import (
17
+ "entgo.io/contrib/entgql"
17
18
"github.com/99designs/gqlgen/graphql"
18
19
{{- range $n := $gqlNodes }}
19
20
"{{ $.Config.Package }}/{{ $n.Package }}"
Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ in the LICENSE file in the root directory of this source tree.
9
9
{{ define "gql_edge" }}
10
10
{{ template "header" $ }}
11
11
12
+ {{ template "import" $ }}
13
+
12
14
import (
13
15
"context"
14
16
17
+ "entgo.io/contrib/entgql"
15
18
"github.com/99designs/gqlgen/graphql"
16
19
)
17
20
Original file line number Diff line number Diff line change 11
11
12
12
{{ $gqlNodes := filterNodes $.Nodes (skipMode "mutation_create_input" "mutation_update_input") }}
13
13
import (
14
+ "entgo.io/contrib/entgql"
14
15
{{- range $n := $gqlNodes }}
15
16
{{- template "import/types" $n }}
16
17
"{{ $.Config.Package }}/{{ $n.Package }}"
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import (
30
30
{{- range $n := $gqlNodes }}
31
31
"{{ $.Config.Package }}/{{ $n.Package }}"
32
32
{{- end }}
33
+ "{{ $.Config.Package }}/predicate"
33
34
34
35
"entgo.io/ent/dialect/sql"
35
36
"entgo.io/contrib/entgql"
You can’t perform that action at this time.
0 commit comments