fusionauth-typescript-client icon indicating copy to clipboard operation
fusionauth-typescript-client copied to clipboard

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

Open KristineTrona opened this issue 1 year ago • 0 comments

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 avatar Feb 05 '24 14:02 KristineTrona