-
-
Notifications
You must be signed in to change notification settings - Fork 748
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
Refined unignore for V10 #1468
Refined unignore for V10 #1468
Conversation
Fields.FirstOrDefault(t => t.Definition.Name.Equals(name)); | ||
Fields.FirstOrDefault(t => | ||
t.Definition.Name.Equals(name) | ||
&& !t.Definition.Ignore); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fields is also used in the generic version because of Field(x => x.Property)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But in that case it does not matter since the collision is only on names. I however think we should change the data structure to better controls ignored members.
Fields.FirstOrDefault(t => t.Definition.Name.Equals(name)); | ||
Fields.FirstOrDefault(t => | ||
t.Definition.Name.Equals(name) | ||
&& !t.Definition.Ignore); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fields is also used in the generic version because of Field(x => x.Property)
@@ -43,8 +43,6 @@ protected internal DirectiveTypeDescriptor(IDescriptorContext context) | |||
base.OnCompleteArguments(arguments, handledProperties); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is also using ``Arguments`
public IDirectiveArgumentDescriptor Argument(
Expression<Func<T, object>> property)
{
SonarCloud Quality Gate failed. 0 Bugs |
No description provided.