gqlgen doesn't generate code by contract with @specifiedBy or @deprecated
- Langage dominant
- Go
- Étoiles
- 10.8k
- Forks
- 1.3k
- Merge moyen
- 2 j 36 min
- PR mergées (30 j)
- 26
Description
### What happened?
https://github.com/krupyansky/gqlgen-bug
Run `go run graph/generate.go`
After I can see error "failed to load schema: graph/schema.graphqls:23: Undefined directive shareable."
If I remove "@specifiedBy" from graph/schema.graphqls, or remove "@deprecated", or move declaration of scalar on the top, than I can see generated files without error.
### What did you expect?
I expect generated code without removing or moving declarations, because my contract is right.
### Minimal graphql.schema and models to reproduce
https://github.com/krupyansky/gqlgen-bug
### versions
https://github.com/krupyansky/gqlgen-bug
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.