1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

fix(server): non-nullable IsOptional (#3939)

* custom `IsOptional`

* added link to source

* formatting

* Update server/src/domain/domain.util.ts

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

* nullable birth date endpoint

* made `nullable` a property

* formatting

* removed unused dto

* updated decorator arg

* fixed album e2e tests

* add null tests for auth e2e

* add null test for person e2e

* fixed tests

* added null test for user e2e

* removed unusued import

* log key in test name

* chore: add note about mobile not being able to use the endpoint

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Mert
2023-09-01 12:40:00 -04:00
committed by GitHub
parent ca35e5557b
commit 9539a361e4
43 changed files with 271 additions and 243 deletions

View File

@ -1982,7 +1982,7 @@ export interface PeopleUpdateDto {
*/
export interface PeopleUpdateItem {
/**
* Person date of birth.
* Person date of birth. Note: the mobile app cannot currently set the birth date to null.
* @type {string}
* @memberof PeopleUpdateItem
*/
@ -2056,7 +2056,7 @@ export interface PersonResponseDto {
*/
export interface PersonUpdateDto {
/**
* Person date of birth.
* Person date of birth. Note: the mobile app cannot currently set the birth date to null.
* @type {string}
* @memberof PersonUpdateDto
*/