Skip to content

unknown type in cursor for branded ids #34

Open
@rares-lupascu

Description

@rares-lupascu

Hi

So my ids are branded to avoid miss-assignments
What that means is that instead of passing string is the type (uuid format) i am passing my custom type which is UserId
It looks like this:

interface ConversationId extends String {
    _conversationBrand: string;
}

so in this case I cannot create the pagination object:

"unknown type in cursor: [object]bee5b8e2-80ab-4ba8-b762-02c3e7337ca5"

any suggestion to avoid this?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions