Skip to content

Conversation

@hughie-coles
Copy link

I am introducing a LocationServiceFactory to abstract the creation of different LocationServices. Each location has a name associated, and we use this as the key for each instance.

Data sources can come and go (or existing ones can change). This makes the LocationService a part of the code that is subject to change. By abstracting the creation of these services, we enable the addition and changing of the list of data sources

@Kilo59 Kilo59 closed this Aug 21, 2021
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.

2 participants