cidertool/cider

Hash API resources to reduce unnecessary updates

aaronsky opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Cider should be able to hash the properties of updateable models coming from the App Store Connect API in order to minimize excessive PATCH requests.

Describe the solution you'd like
Hash the structure of an API model in such a way where it can be easily compared as an equivalent config model (maybe a streamlined way to convert between the two) and if the hashes match, do not perform the update.

Describe alternatives you've considered
Doing the comparisons individually, manually. Or not doing this, to ensure run consistency

Additional context
None

After a brief conversation with Apple engineering, I was told that I shouldn't attempt this. I can accept that – this seems especially error prone of a feature to include.