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

refactor!: introduce opinionated api #33

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft

Conversation

efcasado
Copy link
Owner

@efcasado efcasado commented May 11, 2024

Description

Replace Req and Saxaboom by Tesla and Ecto while introducing a more opinionated API that abstracts away some of the complexity of the underlying Betradar's UOF API.

Now, all functionality is defined in noun modules (eg. Sports, Fixtures).

Action Log

  • Complete migration
  • Remove dead code (eg. HTTP utils)
  • Remove unnecessary dependencies (eg. Mock)
  • Add type specs
  • Run dialyzer
  • Convert language to enum and validate
  • Update examples
  • Update README
  • Use Ecto formatter
  • Avoid unnecessary defmodule for nested schemas
  • Include ! variants

@efcasado efcasado force-pushed the feat-tesla-ecto branch 5 times, most recently from 83ba622 to 22140d1 Compare May 11, 2024 10:40
@efcasado efcasado force-pushed the feat-tesla-ecto branch 2 times, most recently from 3be4c0c to 147387b Compare May 11, 2024 13:59
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
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