Skip to content

Refactoring duplicated code into an "ArgumentResolver" #36

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

Merged
merged 2 commits into from
Apr 9, 2019

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Apr 9, 2019

The ArgumentResolver role is similar to the HydratorInterface except it can actually hydrate any type (not only input types) but also lists and scalars.

The code was previously duplicated between input type objects and queryfield args.

moufmouf added 2 commits April 9, 2019 17:03
The ArgumentResolver role is similar to the HydratorInterface except it can actually hydrate any type (not only input types) but also lists and scalars.

The code was previously duplicated between input type objects and queryfield args.
@moufmouf moufmouf merged commit 6af5c28 into thecodingmachine:master Apr 9, 2019
@moufmouf moufmouf deleted the argument_resolver branch April 9, 2019 15:42
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