Skip to content

Commit

Permalink
refactor: Change a graph structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Apr 3, 2024
1 parent 4db34fb commit b11d85c
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 577 deletions.
8 changes: 4 additions & 4 deletions gqlgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ schema:

# Where should the generated server code go?
exec:
filename: serve/graph/generated/generated.go
package: generated
filename: serve/graph/generated.go
package: graph

# Where should any generated models go?
model:
Expand All @@ -16,8 +16,8 @@ model:
# Where should the resolver implementations go?
resolver:
layout: follow-schema
dir: serve/graph/resolvers
package: resolvers
dir: serve/graph
package: graph
filename_template: "{name}.resolvers.go"
# Optional: turn on to not generate template comments above resolvers
# omit_template_comment: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package resolvers
package graph

import (
"time"
Expand Down
Loading

0 comments on commit b11d85c

Please sign in to comment.