Files
jellyfin-jellyfin-1/MediaBrowser.Model/Dto/BaseItemDto.cs
gnattu 1fff472569 Explicitly set default value for enums used in API models (#13821)
Enums in response model with no nullability or default value will make the API very fragile as each extension to the enum will break the API for some clients, but a lot of enums actually do have an unknown value which should be used as a default. This set all model properties that are non-nullable using an enum that has an Unknown member in 10.10, except MediaStream.VideoRangeType which is refactored in #13277

(cherry picked from commit 4a4fef830e)
2025-04-03 18:14:42 +02:00

26 KiB