Skip to content
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

Allow rewriter to work on empty but potentially importable packages #1294

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

lwc
Copy link
Member

@lwc lwc commented Aug 18, 2020

#1264 introduced some changes to accomodate the change in x/tools/go/packages between go versions that broke the new project gqlgen init use case.

This PR favours our internal code.ImportPathForDir over the errors from packages, which keeps the tests green and allows for gqlgen init to work on empty packages.

Fixes: #1283

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@lwc lwc merged commit eb424a2 into master Aug 18, 2020
@lwc lwc deleted the fix-init branch August 18, 2020 07:06
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 66.261% when pulling a87c54a on fix-init into 08eee0f on master.

cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
Allow rewriter to work on empty but potentially importable packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting Started Broken: resolvergen: -: no matching versions for query "latest"
2 participants