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

Repository and domain for planets #20

Open
jChicote opened this issue Oct 25, 2023 · 0 comments · Fixed by #22
Open

Repository and domain for planets #20

jChicote opened this issue Oct 25, 2023 · 0 comments · Fixed by #22
Labels
enhancement New feature or request

Comments

@jChicote
Copy link
Owner

Description

After seeing the response times of the planets, it will take some time for the API to response with the data and for it to be processed in time for the planets being rendered. Additionally if modifications were needed for the planets, the current implementation would have no way of interacting with the planets as their data would have to be actively saved.

Acceptance Criteria

  • The repository exists and can be accessed
  • Domain objects can be passed in and are accessed
  • Only the usecase can interact with the repository
  • The rendered objects are the view and should not be touching the domain

Implementation

  • Create a Repository for planets
  • Store the data in an array
  • Implement the repository in the use case
  • Pass the domain into the repository
  • Do that you can extract the data from the repository using the planetCode (from the view model)
@jChicote jChicote added the enhancement New feature or request label Oct 25, 2023
@jChicote jChicote linked a pull request Oct 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant