Commit graph

24 commits

Author SHA1 Message Date
Bond-009
2e33e14bb2
Merge pull request #4899 from jellyfin/nullableguid
Cover all branches in JsonNullableGuidConverter
2021-01-09 17:37:23 +01:00
crobibero
75ed532fca Add serialize test 2021-01-06 07:07:38 -07:00
crobibero
c1d1b6e9f4 Fix serialization loop 2021-01-04 07:52:44 -07:00
Bond_009
45331ad83a Cover all branches in JsonNullableGuidConverter 2020-12-31 11:32:32 +01:00
Joshua M. Boniface
0de45d8724
Merge pull request #4884 from crobibero/json-nullable-guid-converter
Add JsonConverter for Nullable Guids
2020-12-30 19:56:04 -05:00
crobibero
cae38f3a7e Add JsonConverter for Nullable Guids 2020-12-29 16:08:16 -07:00
David
8ac1ed16ca Use Theory instead of Fact for unit tests 2020-12-29 00:15:36 +01:00
David
e0499f8769 Remove attributes 2020-12-25 19:37:38 +01:00
David
aacda01ca5 Add more tests 2020-12-25 19:21:58 +01:00
crobibero
e09dd5aa87 Add targeted tests 2020-12-25 14:43:10 +01:00
crobibero
6ddbe8420f Add tests for special Omdb json 2020-12-25 14:43:10 +01:00
crobibero
681a0f3e75 Add nullable guid test 2020-12-09 19:57:25 -07:00
crobibero
c955f19634 Serialize GUID without dashes 2020-12-08 19:33:26 -07:00
Claus Vium
b6ecaccf92
Merge pull request #4730 from crobibero/base-item-dto-guid-nullable
Don't serialize empty GUID to null
2020-12-08 18:22:18 +01:00
crobibero
26e5aacb90 Fix JsonConverter recursion 2020-12-08 07:18:25 -07:00
crobibero
8517b28eba Make BaseItemDto Guids nullable 2020-12-07 15:23:40 -07:00
crobibero
6e98378447 Simplify converter 2020-12-07 14:58:27 -07:00
crobibero
66a1880a58 Add number to bool json converter 2020-12-06 20:26:21 -07:00
Bond_009
10be618ec3
Add more tests for JsonGuidConverter 2020-11-28 16:33:57 +01:00
crobibero
42c2ab97e7 Support IReadOnlyList for JsonCommaDelimitedArrayConverter 2020-10-29 11:32:02 -06:00
crobibero
b2662894cf Add whitespace handling and tests 2020-10-16 09:37:35 -06:00
crobibero
7565ae22cb Add tests and switch to factory 2020-10-11 21:09:15 -06:00
Bond_009
d7dc15971e Add roundtrip test 2020-10-04 16:26:43 +02:00
Bond_009
8535a718b7 Add tests for deserializing guids 2020-10-02 19:43:34 +02:00