Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KristineTrona opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@KristineTrona
Copy link

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?

@KristineTrona KristineTrona changed the title Patch user request types do not allow for removing a property Patch user request types do not allow for removing a user property Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant