Skip to content

Unicode cursors passed to get_offset_with_default are rejected #5

@darkenedsoul

Description

@darkenedsoul

I'm unsure if this is an actual problem or intentional on graphql-relay's end but when using graphene hooked into django (1.8.6) cursor based querying returns the same result set as without. This is due to the aforementioned function (in graphql_relay.connection.arrayconnection) specifically only allowing instances of str. I monkeypatched an alternative function that casts the unicode to str and was able to get sliced results.

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