Skip to content

minor performance improvement - #2532

Merged
bbakerman merged 1 commit into
graphql-java:masterfrom
dugenkui03:improvement_for_skipAndInclude
Sep 4, 2021
Merged

bbakerman merged 1 commit into
graphql-java:masterfrom
dugenkui03:improvement_for_skipAndInclude

Conversation

@dugenkui03

Copy link
Copy Markdown
Contributor

No description provided.

return false;
}

return getDirectiveResult(variables, directives, IncludeDirective.getName(), true);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this is easier to understand as well. I am not a fan of negative booleans

@bbakerman bbakerman added this to the 18.0 milestone Sep 4, 2021
@bbakerman
bbakerman merged commit ba2a29a into graphql-java:master Sep 4, 2021
@andimarek andimarek modified the milestones: 18.0, 17.3 Sep 19, 2021
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.

3 participants