Autobind error message is wrong
- Dominant language
- Go
- Stars
- 10.8k
- Forks
- 1.3k
- Avg merge
- 2d 36m
- Merged PRs (30d)
- 26
Description
### What happened?
```graphql
type User {
tags: [String!]!
}
```
```go
type User struct {
tags string
}
```
If I exec gqlgen, I get the following error.
`2023/06/22 03:31:20 String is incompatible with string`
The reason for this is not clear, since `String` and `string` are supposed to be bindable.
### What did you expect?
`2023/06/22 03:31:20 [String!]! is incompatible with string`
It is also more desirable if the corresponding file and line are output.
`2023/06/22 03:31:20 user.graphql:2 [String] is incompatible with string`
### Minimal graphql.schema and models to reproduce
```graphql
type User {
tags: [String!]!
}
```
### versions
- `go run github.com/99designs/gqlgen version`? v0.17.28
- `go version`? 1.20
Contributor guide
Assessment
This issue has not been assessed yet.