Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update datapoint list endpoint to fetch all forms set last synced at #1169

Conversation

ifirmawan
Copy link
Contributor

@ifirmawan ifirmawan commented Feb 13, 2024

TODO/DONE

  • Add new migration: last_synced_at in mobile_assginment
  • Remove form params & get all datapoints in each assignment forms

@ifirmawan ifirmawan self-assigned this Feb 13, 2024
@ifirmawan ifirmawan changed the title Feature/1168 update datapoint list endpoint to fetch all forms set last synced at Update datapoint list endpoint to fetch all forms set last synced at Feb 13, 2024
Refactoring querset to querying FormData objects by unique UUID and getting the latest one for each UUID.
- Add assertion to check form_id in datapoint-list endpoint.
- Add assertion last_synced_at is null in device/auth ednpoint.
@ifirmawan ifirmawan force-pushed the feature/1168-update-datapoint-list-endpoint-to-fetch-all-forms-set-last_synced_at branch from 6b47894 to 89de269 Compare February 13, 2024 09:24
@coveralls
Copy link

Coverage Status

coverage: 81.74% (+0.03%) from 81.707%
when pulling 89de269 on feature/1168-update-datapoint-list-endpoint-to-fetch-all-forms-set-last_synced_at
into 4f95907 on develop.

@dedenbangkit dedenbangkit merged commit 3f63089 into develop Feb 13, 2024
4 checks passed
@dedenbangkit dedenbangkit deleted the feature/1168-update-datapoint-list-endpoint-to-fetch-all-forms-set-last_synced_at branch February 13, 2024 09:32
@ifirmawan ifirmawan linked an issue Mar 6, 2024 that may be closed by this pull request
2 tasks
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.

Update datapoint-list endpoint to fetch all forms & set last_synced_at
3 participants