Skip to content

Global ids from objects with composite primary keys are not correctly extracted (again) #388

Closed
@genericmoniker

Description

@genericmoniker

In #43 a change was made to convert composite keys to a tuple.

graphql-core made a change such that a tuple is no longer accepted as a valid ID (whereas it would previously just call str on the tuple).

The result is an error such as the following when an object of the type is requested with its id field:

ID cannot represent value: (<UUID instance>, <UUID instance>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions