If an interface field has arguments, they will not be generated. This causes errors when using the exported schema in genqlient.
Steps to reproduce
Create a new go project
$ mkdir sample-gengqlient-project
$ cd sample-genqlient-project
$ go mod init sample-genqlient-project
Run go install github.com/suessflorian/gqlfetch/gqlfetch@latest
Run gqlfetch --endpoint https://gitlab.com/api/graphql > schema.graphql
Run go run github.com/Khan/genqlient@latest --init and observe that the it is unable to init the project because of the interface and implementation argument mismatch.
Description
If an
interface
field has arguments, they will not be generated. This causes errors when using the exported schema in genqlient.Steps to reproduce
go install github.com/suessflorian/gqlfetch/gqlfetch@latest
gqlfetch --endpoint https://gitlab.com/api/graphql > schema.graphql
go run github.com/Khan/genqlient@latest --init
and observe that the it is unable to init the project because of the interface and implementation argument mismatch.