We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gofmt failed on *** expected 'IDENT', found 'type' (and 1 more errors)
directive @permission( type: String! ) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION
gqlgen version v0.9.4-0.20190828043904-55b2144289de
https://github.com/99designs/gqlgen/blob/master/codegen/directive.go#L170
res += fmt.Sprintf(", %s %s", templates.ToGoPrivate(arg.Name) templates.CurrentImports.LookupType(arg.TypeReference.GO))
The text was updated successfully, but these errors were encountered:
Update directive.go
2a943ee
fix 99designs#860 directive arg name keyword is not converted
Merge pull request #907 from lian-yue/patch-1
756dcf6
fix #860 directive arg name keyword is not converted
d89bb4a
Merge pull request 99designs#907 from lian-yue/patch-1
64da08c
Successfully merging a pull request may close this issue.
What happened?
gofmt failed on *** expected 'IDENT', found 'type' (and 1 more errors)
What did you expect?
Minimal graphql.schema and models to reproduce
versions
gqlgen version v0.9.4-0.20190828043904-55b2144289de
Bug location
https://github.com/99designs/gqlgen/blob/master/codegen/directive.go#L170
The text was updated successfully, but these errors were encountered: