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

Save Activities #60

Merged
merged 4 commits into from
Nov 3, 2021
Merged

Save Activities #60

merged 4 commits into from
Nov 3, 2021

Conversation

SamuelWillis
Copy link
Owner

@SamuelWillis SamuelWillis commented Nov 1, 2021

Draft PR that will gather and persist activities.

To Do:

  • PR to fix activities data model and schema
    • Non null strava id
    • UTC DateTime for start date
  • Insert_all tests
  • DataCollection tests

Notes

Working on this has exposed a bit of complexity to the DataCollection module, it's doing a lot of things and those things are a little spread out. I think that module could be split up to follow learnings from Designing Elixir Systems with OTP book.

Would be interesting to apply their methodology to this codebase.

I am also starting to notice that a "business logic" split to the Contexts is leading to a bit of complexity possibly? Or I haven't gone extreme enough in that direction, ex: Gear, Athlete module.

@SamuelWillis SamuelWillis marked this pull request as ready for review November 3, 2021 03:15
@SamuelWillis SamuelWillis enabled auto-merge (rebase) November 3, 2021 03:15
@SamuelWillis SamuelWillis merged commit 946e28a into main Nov 3, 2021
@SamuelWillis SamuelWillis deleted the save-activities branch November 3, 2021 03:16
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.

None yet

1 participant