Skip to content

Unicode support #21

Closed
Closed
@miracle2k

Description

@miracle2k

I scalars.py, this line:

def coerce_string(value):
    if isinstance(value, bool):
        return 'true' if value else 'false'
    return unicode(value)

If the input value of a mutation is a unicode string, I get a decode error. A simple fix, unicode(value) handles this for me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions