Test: a KeyAsPropertyName type with an integer key is still one whole value
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e5a4f60bc7
commit
7e69daa85e
1 changed files with 1 additions and 1 deletions
|
|
@ -986,7 +986,7 @@ namespace GameCult.Caching.Tests
|
|||
[MessagePackObject] public class Whole<T> { [Key(0)] public T? Value { get; set; } }
|
||||
public class NkHold { public List<EIded> Items = new(); }
|
||||
[MessagePackObject] public class SkHold { [Key("items")] public List<EIded> Items = new(); }
|
||||
[MessagePackObject(keyAsPropertyName: true)] public class KpBase { public List<EIded> Items = new(); }
|
||||
[MessagePackObject(keyAsPropertyName: true)] public class KpBase { [Key(0)] public List<EIded> Items = new(); }
|
||||
public class KpDerived : KpBase { }
|
||||
[MessagePackObject] public class MpBase { [Key(0)] public List<EIded> Items = new(); }
|
||||
[System.Runtime.Serialization.DataContract] public class DcOverMp : MpBase { }
|
||||
|
|
|
|||
Loading…
Reference in a new issue