Skip to content

Make DjangoDebugContext wait for nested fields#591

Merged
jkimbo merged 4 commits intographql-python:masterfrom
ktosiek:debug-wait-for-all-promises
Aug 7, 2019
Merged

Make DjangoDebugContext wait for nested fields#591
jkimbo merged 4 commits intographql-python:masterfrom
ktosiek:debug-wait-for-all-promises

Conversation

@ktosiek
Copy link
Copy Markdown
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
Copy Markdown

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

@hypercodex
Copy link
Copy Markdown

What needs to happen for this to get merged?

@zbyte64
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
Contributor Author

ktosiek commented Jun 1, 2019

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

Comment thread graphene_django/debug/middleware.py
@stale
Copy link
Copy Markdown

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
Copy Markdown
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