graphql-go / graphql-go/graphql
Resolver is not extracting nested structs
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 845
- PR merge metrics
- No merged PRs in 30d
Description
I'm using last version of graphql v0.7.9
I have query "users" which should return a list of users:

QueryType:

structs:

pgsql is *sqlx.DB
As you can see I'm using nested struct UserInput for UserType. Actually sqlx is binding values to it correctly and when I'm calling fmt.Println(user[0].First_name) it works good, but for graphql - not!

When I'm not using nested structs - it works good.
Seems like a bug.
Contributor guide
Assessment
This issue has not been assessed yet.