Skip to content

VIT-8889: Don't treat nil-reporting HKStatistics as an error#346

Merged
andersio merged 1 commit intomainfrom
03-09-vit-8889_don_t_treat_nil-reporting_hkstatistics_as_an_error
Mar 9, 2026
Merged

VIT-8889: Don't treat nil-reporting HKStatistics as an error#346
andersio merged 1 commit intomainfrom
03-09-vit-8889_don_t_treat_nil-reporting_hkstatistics_as_an_error

Conversation

@andersio
Copy link
Contributor

@andersio andersio commented Mar 9, 2026

It seems HealthKit has started returning HKStatistics that would report nil for e.g. mostRecentQuantity, instead of not returning such HKStatistics at all.

So handle this drift gracefully.

@linear
Copy link

linear bot commented Mar 9, 2026

Copy link
Contributor Author

andersio commented Mar 9, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@andersio andersio merged commit 354262c into main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant