mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
11 lines
612 B
Markdown
11 lines
612 B
Markdown
|
---
|
||
|
"@logto/core": minor
|
||
|
---
|
||
|
|
||
|
update the jsonb field update mode from `merge` to `replace` for the `PATCH /application/:id` endpoint.
|
||
|
remove the `deepPartial` statement from the `PATCH /application/:id` endpoint payload guard.
|
||
|
|
||
|
For all the jsonb typed fields in the application entity, the update mode is now `replace` instead of `merge`. This means that when you send a `PATCH` request to update an application, the jsonb fields will be replaced with the new values instead of merging them.
|
||
|
|
||
|
This change is to make the request behavior more strict aligned with the restful API principles for a `PATCH` request.
|