WindowsAppCommunity / WinAppCommunity.Sdk

Manage your membership in the Windows App Community.
MIT License
1 stars 1 forks source link

Refactor Models Nov 30, 2024 #3

Closed Arlodotexe closed 4 days ago

Arlodotexe commented 4 days ago

Background

See https://github.com/WindowsAppCommunity/WinAppCommunity.Sdk/issues/2 for background.

Problem

The models must be updated according to the refined API spec.

Solution

We've split this analysis into two sections: Lists and properties. Each section lists what's extra and what's missing for each of the three types.


Lists:

Current setup

Publisher

Project

User


Changes to make:

[What's extra]:

Publisher doesn't need:

Project doesn't need:

User doesn't need:

[What's missing]:

Publisher is missing:

Project is missing:

User is missing:


Properties:

Current setup

Publisher

Project

User


Changes to make:

[What's extra]:

Publisher doesn't need:

Project doesn't need:

User doesn't need:

[What's missing]:

Publisher is missing:

Project is missing:

User is missing:


In addition to property and collection updates, several other changes should be made to the models while we're in here refactoring things: