When scaffolding users, you get a bunch of common API calls, but PATCH seems to be missing:

For my use case specifically, I'm extending users to support local user management in a first phase of a project, so fields such as the (new) plain text password cannot be repeated every time, only when it needs to be updated, at which point it is hashed and permanently discarded.
Ideally a PATCH API call would exist similar to the PUT one that allows omitting fields if they don't need to be changed, and fields that are explicitly set (null` or otherwise) will only be written to.
This might also apply to scaffolded API calls for entities in general, but I noticed it specifically for users.
(I haven't tested yet if PUT supports this behaviour, but even if it does, typically both are separate actions in RESTful APIs which shouldn't be conflated.)
Not a biggy, as it is straightforward to add, but just wanted to mention it.
When scaffolding users, you get a bunch of common API calls, but
PATCHseems to be missing:For my use case specifically, I'm extending users to support local user management in a first phase of a project, so fields such as the (new) plain text password cannot be repeated every time, only when it needs to be updated, at which point it is hashed and permanently discarded.
Ideally a
PATCH API call would exist similar to thePUTone that allows omitting fields if they don't need to be changed, and fields that are explicitly set (null` or otherwise) will only be written to.This might also apply to scaffolded API calls for entities in general, but I noticed it specifically for users.
(I haven't tested yet if
PUTsupports this behaviour, but even if it does, typically both are separate actions in RESTful APIs which shouldn't be conflated.)Not a biggy, as it is straightforward to add, but just wanted to mention it.