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

Lazy load currency data #106

Merged

Conversation

Robbie-Palmer
Copy link
Contributor

By using the lazy loading design pattern, with a private field hidden behind a property, duplicate code is removed
And the currency.json file will not be read multiple times from disk

Removing duplicate code, and preventing redundant disk reads
@abhijeet-1110 abhijeet-1110 merged commit 1f131f3 into MicroPyramid:master Dec 3, 2021
@Robbie-Palmer Robbie-Palmer deleted the lazy-load-currency-data branch June 5, 2022 17:21
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

2 participants