beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 5 forks source link

Do not crash if goals do not have a mathishard property #399

Closed theospears closed 11 months ago

theospears commented 11 months ago

While it is intended that the api returns a value for mathishard for all goals there appear to exist some corrupt goals where this is not the case, and this currently causes the app to crash, preventing access to all the other goals. Be more tolerant to this property not existing.

Testing: Wrote unit tests to validate the app can parse these response payloads without crashing.

theospears commented 11 months ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.