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

refactor unimplemented directive handling #839

Merged
merged 1 commit into from
Aug 19, 2019
Merged

Conversation

vvakame
Copy link
Collaborator

@vvakame vvakame commented Aug 17, 2019

Describe your PR and link to any relevant issues.
when gqlgen v0.9.0. If DirectiveRoot implementation is nil. it's skipped.
currently, DirectiveRoot implementation is must required. (I think it is correct.)
but gqlgen is not checking directive function is nil or not. raise runtime panic.

I have:

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

@vektah
Copy link
Collaborator

vektah commented Aug 19, 2019

Awesome 👍

@vektah vektah merged commit 8590ede into master Aug 19, 2019
@vektah vektah deleted the fix-nil-directive branch August 19, 2019 00:09
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
refactor unimplemented directive handling
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.

2 participants