Skip to content

Fix return promise from ConnectionField resolver - #253

Closed
Globegitter wants to merge 55 commits into
graphql-python:masterfrom
Globegitter:patch-8
Closed

Globegitter wants to merge 55 commits into
graphql-python:masterfrom
Globegitter:patch-8

Conversation

@Globegitter

Copy link
Copy Markdown

This is a quick-fix so we can get ConnectionField resolvers work right now in our app when returning promises.

Will add a test and I think in your next branch we can make a nicer fix to actually use the promise is_thenable check.

pyoner and others added 30 commits June 13, 2016 20:13
fixed model column name [sqlalchemy]
…jango-authorization

Fix typo: CategoryNode -> PostNode
Give the error message that occurs if you forget the node Field,
so googling for this brings you right to the documentation
[Docs] Make it more obvious that the `node` Field is required for relay
Add postgresql dialects for sqlachemy
Added returns_promise flag to schema.execute
[docs] Return an empty queryset instead of an empty list
@coveralls

coveralls commented Aug 19, 2016 •

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.04%) to 96.362% when pulling b9f0860 on Globegitter:patch-8 into 17ba015 on graphql-python:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-1.2%) to 95.149% when pulling 1e1dc4c on Globegitter:patch-8 into 17ba015 on graphql-python:master.

@Globegitter

Copy link
Copy Markdown
Author

Not sure why the tests are failing. Are working locally for me.

@Globegitter

Copy link
Copy Markdown
Author

This is being fixed in #288.

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.

10 participants