mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4033] [MERGED] Readd nullable number converters #9830
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4033
Author: @crobibero
Created: 9/1/2020
Status: ✅ Merged
Merged: 9/1/2020
Merged by: @Bond-009
Base:
master← Head:empty-string-nullable-number📝 Commits (5)
9b2359areadd nullable number converters1f2d73aOnly handle empty string or null caseeb400f7Fallback to base jsonconverter471e760remove unused declaration9ddf550Simplify json converters📊 Changes
2 files changed (+50 additions, -0 deletions)
View changed files
➕
MediaBrowser.Common/Json/Converters/JsonNullableStructConverter.cs(+44 -0)📝
MediaBrowser.Common/Json/JsonDefaults.cs(+6 -0)📄 Description
Sometimes clients send empty string representing a nullable number.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.