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

Run Resolver Middleware For All Fields #217

Merged
merged 4 commits into from
Jul 24, 2018
Merged

Conversation

mathewbyrne
Copy link
Contributor

In preparation for getting directive middleware support in place, this change alters generation to run resolvers for all fields now, instead of only user resolvers. Directive middlewares will likely run in the same middleware stack after resolver middlewares.

@mathewbyrne mathewbyrne force-pushed the resolver-middleware-all branch from 9621a20 to 065f2ac Compare July 24, 2018 01:36
Mathew Byrne added 4 commits July 24, 2018 11:53
This field stores a Ref if a type is a builtin that has been aliased. In
most cases if this is set, we want to use this as the type signature
instead of the named type resolved from the schema.
@mathewbyrne mathewbyrne force-pushed the resolver-middleware-all branch from 065f2ac to 7292be7 Compare July 24, 2018 01:56
@mathewbyrne mathewbyrne merged commit 0fa7977 into next Jul 24, 2018
@vektah vektah deleted the resolver-middleware-all branch August 3, 2018 00:09
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.

1 participant