You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this pr caused an issue in code gen: #1404
The generated code expects a resolver for inputs now but it fails to implement the resolver. Also, the model that was already matching using @GoModel directive is no longer matching:
typeBarstruct {
a, bstring
}
typeFooType []BartypeBazstruct {
FooFooType
}
inputSomeInput@goModel(model: "Baz") {
foo: [Bar!]! # this used to get mapped to the go struct, but now it doesn't.
}
inputBar@goModel(model: "Bar") {
a: String!b: String!
}
The text was updated successfully, but these errors were encountered:
Generated code with 0.14 works fine but not 0.15 nor 0.16. Here is the error from the project:
./main.go:13:23: cannot use &rsv (type *resolvers.Resolver) as type generated.ResolverRoot in field value:
*resolvers.Resolver does not implement generated.ResolverRoot (missing SampleInput method)
Looks like this pr caused an issue in code gen: #1404
The generated code expects a resolver for inputs now but it fails to implement the resolver. Also, the model that was already matching using @GoModel directive is no longer matching:
The text was updated successfully, but these errors were encountered: