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
On generated model file:
% golint company.go company.go:12:16: don't use underscores in Go names; method Is_Entity should be IsEntity %
% golint company.go %
schema:
type Company @extends @key(fields: "name") { name: String! @external moreStuff: [int] }
gqlgen version
go version
The text was updated successfully, but these errors were encountered:
A nice solution would be to do it like dig and providing a Entity struct which could be embedded into all entity structs.
Something like:
type Account struct { graphql.Entity }
Sorry, something went wrong.
Wow, that was quick and way more throrough than what I expected. Thanks!
vektah
Successfully merging a pull request may close this issue.
What happened?
On generated model file:
What did you expect?
Minimal graphql.schema and models to reproduce
schema:
versions
gqlgen version
? v0.10.2-dev (commit 4ece385)go version
? go version go1.13.7 darwin/amd64The text was updated successfully, but these errors were encountered: