Skip to content

Make DjangoDebugContext wait for nested fields #591

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 4 commits into from
Aug 7, 2019

Conversation

ktosiek
Copy link
Contributor

@ktosiek ktosiek commented Mar 10, 2019

This commit makes DjangoDebugContext wait for all field's promises, even for fields that only started their resolvers after __debug was resolved.

Fixes #293.

This commit makes DjangoDebugContext wait for all field's promises,
even for fields that only started their resolvers after __debug was
resolved.

Fixes graphql-python#293.
@japrogramer
Copy link

why hasn't the checks completed for this pull request?

@hypercodex
Copy link

What needs to happen for this to get merged?

@zbyte64
Copy link
Collaborator

zbyte64 commented May 31, 2019

@ktosiek For whatever reason travis CI never built this PR. Please merge with master and push to re-trigger the build.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 92.827% when pulling fae2e74 on ktosiek:debug-wait-for-all-promises into b0cba39 on graphql-python:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 92.827% when pulling fae2e74 on ktosiek:debug-wait-for-all-promises into b0cba39 on graphql-python:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 92.827% when pulling fae2e74 on ktosiek:debug-wait-for-all-promises into b0cba39 on graphql-python:master.

@ktosiek
Copy link
Contributor Author

ktosiek commented Jun 1, 2019

@zbyte64 thank you for the suggestion, it looks like the tests are passing now

@stale
Copy link

stale bot commented Aug 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 3, 2019
@jkimbo jkimbo removed the wontfix label Aug 4, 2019
Copy link
Member

@jkimbo jkimbo left a comment

Choose a reason for hiding this comment

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

This is looks good thanks @ktosiek ! (and sorry for the delay in reviewing this)

@jkimbo jkimbo merged commit 11605dc into graphql-python:master Aug 7, 2019
@jkimbo jkimbo mentioned this pull request Aug 7, 2019
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.

__debug, __sql doesn't log sql queries made withing promises or resolves In Types
7 participants