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

Service layer model not implemented consistently #3

Open
ognjenkurtic opened this issue Mar 22, 2019 · 0 comments
Open

Service layer model not implemented consistently #3

ognjenkurtic opened this issue Mar 22, 2019 · 0 comments

Comments

@ognjenkurtic
Copy link
Contributor

Each of the services serves to fetch one of the variables used in the formula to calculate the emissions. Services depend on providers to fetch the actual data. A provide could be a JSON, API or something else. The responsibility of the provider should be to fetch the data, map it to it's own internal model and then translate the internal model to the service layer model used for the calculation. This should be consistently implemented across the app.

@ognjenkurtic ognjenkurtic changed the title Implement service layer model consistently Service layer model not implemented consistently Mar 29, 2019
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

No branches or pull requests

1 participant