New issue
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
gqlgen Autobind internal package - unable to find type #911
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bumping to keep from becoming stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This should not be stale. I am encountering a similar issue with autobinding to models in the root of a module |
Yeah, agreed. I wish it could be re-opened. @vvakame is this possible to re-open? |
Someone found a solution? same here |
The internal folder doesn't get packaged by the go compiler. |
What happened?
Tried to resolve an autobind in an internal path:
What did you expect?
It should still be able to find the path.
Minimal graphql.schema and models to reproduce
From examples.
versions
gqlgen version
? v0.10.1go version
? 1.12.9 darwin/amd64A note. I don't know if this is necessarily expected to work, as I'm unsure how
gqlgen
is actually determining packages. If it only works with exported packages, then I suppose this makes sense. However, perhaps it should be documented?The text was updated successfully, but these errors were encountered: