Codegen does not allow more than 10 different import sources with types #1893
Unanswered
jimvmathews
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
Preventing us from generating a schema that has 10 or more different object/input mappings that have package name collisions
Fix for this issue made in this commit - e82b401#diff-81404a6482adde6e16a831accc3acbbcbbdff6b6f557b4e17fc5aa77ba5c58fb back in Apr 21, shows it has been included in v0.14.0 but is missing.
What did you expect?
Allow generating a schema that has 10 or more different object/input mappings that have package name collisions
Minimal graphql.schema and models to reproduce
type Bar1 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/1/bar") {}
type Bar2 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/2/bar") {}
type Bar3 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/3/bar") {}
type Bar4 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/4/bar") {}
type Bar5 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/5/bar") {}
type Bar6 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/6/bar") {}
type Bar7 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/7/bar") {}
type Bar8 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/8/bar") {}
type Bar9 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/9/bar") {}
type Bar10 @GoModel(model: "github.com/99designs/gqlgen/codegen/templates/testdata/10/bar") {}
versions
gqlgen version
? v0.14.0go version
? 1.16Beta Was this translation helpful? Give feedback.
All reactions