fusionauth-typescript-client
fusionauth-typescript-client copied to clipboard
Patch user request types do not allow for removing a user property
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?