Open Shihansin opened 1 year ago
Does your model.User
field have the birthday field? Remove that models.User and try to generate your code again.
i fix this error , i found that it is because the pointer type *time and type time are different , gqlgen treat pointer type and nomal type are different , then it will generate a extra reslover
Does your
model.User
field have the birthday field? Remove that models.User and try to generate your code again.
i fix this error , i found that it is because the pointer type *time and type time are different , gqlgen treat pointer type and nomal type are different , then it will generate a extra reslover
What happened?
when i define a graphl gen with "scalar time" type , it will generate an extra reslover to me
it generate an "birthday" reslover , that i don't want
when i try to use gqlgen.yaml configure a self defined models
ReqPdConfig is a struct include multiple struct , but itself is a whole big struct , but it generate many resolver to me
What did you expect?
how can i avoid it , which is only generate one single reslover , or generate the reslover that i want
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen version
?go version
?