Skip to content

Patch user request types do not allow for removing a user property #98

@KristineTrona

Description

@KristineTrona

Hello,

I would like to call the patchUser method and pass null as an argument to remove email address from the user object, however the TS client does not recognise null as a valid parameter type, as it expects it to be either "string" | undefined.

The documentation does say that passing null is a way to remove the property and it works as well.

Can the types be adjusted to allow for null values?

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