Skip to content

Parser does not respect primaryKey attribute in serializer #151

@jhliberty

Description

@jhliberty

The api I'm hitting doesnt use the key 'id' for the primary key so this line causes the request to fail since there is no id. Changing it to 'uid' for instance worked but it should respect the primaryKey attribute on a serializer and if not present fall back to id.

currentField.selectionSet.push(new Type.Field('id'));

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