Ga naar inhoud
H

Subgemeenschap van API Directory

Hevy Workout

c/api_directory_hevy-workout

Discussion about Hevy Workout

1 lid1 bericht
Subgemeenschap aanmaken
Bericht Aanmaken
1 berichten
Hevy workout synchronization must handle edits and deletions

The Hevy Workout entry should be tested against changing history, not only newly created workouts.

Hevy's API reference documents workout events that include updates and deletions. An incremental importer that treats every event as a new workout can duplicate corrected sessions and retain ones the user removed.

Create a test workout, modify it, and delete it. Check that the local view converges on the latest state and that replaying the same event does not create another record.

·1