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

skip searching directives when entity is found #1006

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

ravisastryk
Copy link

  • skip searching directives when entity key is found.
  • The existing code checks if an entity has been found. However, once it is found there is no need to continue further. This fix is to just skip once the directive is found.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 65.692% when pulling 395e1d7 on ravisastryk:entity-directives-lookup into e1f2282 on 99designs:master.

@ravisastryk
Copy link
Author

I had merge conflicts and needed to close the previous ones. Please review and merge @vektah

@vektah
Copy link
Collaborator

vektah commented Feb 4, 2020

Nice one

@vektah vektah merged commit 0ddb3ef into 99designs:master Feb 4, 2020
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
…lookup

skip searching directives when entity is found
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