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 Todo Example Directive #528

Merged
merged 1 commit into from
Feb 4, 2019
Merged

Fix Todo Example Directive #528

merged 1 commit into from
Feb 4, 2019

Conversation

mathewbyrne
Copy link
Contributor

@mathewbyrne mathewbyrne commented Feb 4, 2019

This closes #483 — a minor issue in the Todo example where the directive is checking for a pointer type, but breaks when the return type is a struct.

This will change anyway when is implemented #375, but this fixes the issue for now.

This should always be true, and currently has a bug when comparing
pointers to structs. Can just be removed.
@mathewbyrne mathewbyrne merged commit 78cfff4 into next Feb 4, 2019
@porty porty deleted the fix-todo-directive branch February 8, 2019 18:37
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant