Support destructuring of proxy tag object

This commit is contained in:
Ske
2020-08-28 11:37:53 +02:00
parent f89ca4c867
commit 935c9660e8
2 changed files with 3 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ namespace PluralKit.Core
.Destructure.AsScalar<MemberId>()
.Destructure.AsScalar<GroupId>()
.Destructure.AsScalar<SwitchId>()
.Destructure.ByTransforming<ProxyTag>(t => new { t.Prefix, t.Suffix })
.Destructure.With<PatchObjectDestructuring>()
.WriteTo.Async(a =>