Skip to content

Allow identifiers in SDK calls in place of environment and userId #42

@flaki

Description

@flaki

We use identifier in a couple places when we talk about our API (and even in the API, such as here for the builder).

Practically the identifier is produced from the strings identifying the environment and tenant, and the API has been using these two separately and making the identifier inside the call. Would it make sense to accept either an identifier or an environment and userId in the SDK functions?

In my local version I have "deprecated" the environment+userId combination, but I don't see why we couldn't provide the flexibility to provide either here.

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