Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for "missing package name for models in resolveManyEntities routine" #2593

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions _examples/federation/multi/gqlgen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
schema:
- internal/graphql/schema/**/*.graphql

exec:
filename: internal/graphql/generated/generated.go
package: generated

federation:
filename: internal/graphql/generated/federation.go
package: generated
version: 2

model:
filename: internal/graphql/gqlmodels/gqlmodels.go
package: gqlmodels

resolver:
layout: follow-schema
dir: internal/graphql/resolvers
package: resolvers
filename_template: "{name}.resolvers.go"

models:
ID:
model:
- github.com/99designs/gqlgen/graphql.String
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.ID
194 changes: 194 additions & 0 deletions _examples/federation/multi/internal/graphql/generated/federation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading