Skip to content

Implementation of Connections somewhat broken in 1.0 #304

@Globegitter

Description

@Globegitter

First of all, excited to see 1.0 released! But the way Connections have been released does not conform to the spec and also regressed in functionality compared to 0.9, by not having this test: https://github.com/graphql-python/graphene/blob/0.x/graphene/relay/tests/test_query.py#L69

Having this check: https://github.com/graphql-python/graphene/blob/master/graphene/relay/connection.py#L111-L114 in the ConnectionField makes it out of the box not work with ObjectTypes, which per spec are allowed to be used as Connections. My PR #288 addresses this issue. This is important to us because with how things are right now we can not upgrade our apps and we would love to do this as soon as possible.

Also a connection field resolver still does not allow the returning of a Promise.

Thanks for all the great work done so far!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions