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

Remove old resolvers #218

Merged
merged 3 commits into from
Jul 24, 2018
Merged

Remove old resolvers #218

merged 3 commits into from
Jul 24, 2018

Conversation

creativej
Copy link
Member

Context:

In recent refactors we introduced a new resolver pattern which is
better structured and more readable. To keep Gqlgen backward compatible
we started generating two styles of resolvers side by side.

Now that we're pushing forward with a new release it's time to sunset the old resolver so the code base is easier to update.

What's in this PR

  • Removes old resolver and start calling the new resolver directly
  • Update all examples to reflect the update

In recent refactor we introduced a new pattern of resolvers which is
better structured and more readable. To keep Gqlgen backward compatible
we started generate two styles of resolvers side by side.

It is now time to sunset the old resolver. This commit removes the old
resolver and update the generation code to use the new resolver
directly.
* chat
* dataloader
* scalar
* selection
* starwars
* todo
Copy link
Collaborator

@vektah vektah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@creativej creativej merged commit f67f839 into next Jul 24, 2018
@creativej creativej deleted the remove-old-resolvers branch July 24, 2018 00:03
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

2 participants