mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
Refactor member updates to use a patch object
This commit is contained in:
parent
472e556ef0
commit
281b669391
10 changed files with 289 additions and 84 deletions
9
PluralKit.Core/Models/Patch/PatchObject.cs
Normal file
9
PluralKit.Core/Models/Patch/PatchObject.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
using PluralKit.Core;
|
||||
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public abstract class PatchObject<TKey, TObj>
|
||||
{
|
||||
public abstract UpdateQueryBuilder Apply(UpdateQueryBuilder b);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue