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

Fix pointer returns from directive #768

Merged
merged 1 commit into from
Jul 8, 2019
Merged

Conversation

vvakame
Copy link
Collaborator

@vvakame vvakame commented Jun 30, 2019

add handling <nil> value returns from directives.
after update v0.9.1, I got unexpected type <nil> from directive, should be *string" error message.
This PR fixes it.

I have:

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

@vvakame vvakame requested a review from vektah June 30, 2019 01:34
@vvakame
Copy link
Collaborator Author

vvakame commented Jun 30, 2019

oops 👀

@vvakame vvakame force-pushed the fix-ptr-from-directive branch from 28207f0 to 6f3d731 Compare June 30, 2019 01:59
@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.917% when pulling 6f3d731 on fix-ptr-from-directive into 21b6511 on master.

@vvakame
Copy link
Collaborator Author

vvakame commented Jul 3, 2019

@vektah 👀

@vektah vektah merged commit bf2cc90 into master Jul 8, 2019
@vektah vektah deleted the fix-ptr-from-directive branch July 8, 2019 05:59
@vektah
Copy link
Collaborator

vektah commented Jul 8, 2019

thanks @vvakame, that directive change had a fairly large refactor in it. glad to see test coverage increasing here :)

@vektah vektah added the v0.9.2 label Aug 8, 2019
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants