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 for aliased list arguments #1893

Merged
merged 1 commit into from Oct 10, 2020
Merged

Fix for aliased list arguments #1893

merged 1 commit into from Oct 10, 2020

Conversation

sungam3r
Copy link
Member

fixes #1882

@@ -52,7 +52,7 @@ private static bool TryGetArgument(this IResolveFieldContext context, Type argum
return true;
}

result = arg.GetPropertyValue(argumentType);
result = arg.GetPropertyValue(argumentType, context.FieldDefinition?.Arguments?.Find(argumentName)?.ResolvedType);
Copy link
Member Author

Choose a reason for hiding this comment

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

It was pretty straightforward.

@sungam3r sungam3r merged commit fe1e447 into master Oct 10, 2020
@sungam3r sungam3r deleted the aliased-field branch October 10, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aliased field in mutation input type does not get set when argument is a list
2 participants