Skip to content

Conversation

@antheia-z
Copy link

The decorator pattern was introduced in the location folder to make it easier to extend the behavior of the location and to modify the functionality of the location.

To implement the decorator pattern, I added the function decoratedSerialize to decorate serializer methods in CSBSLocation, NYTLocation, and TimelinedLocation, as well as new subclasses of location that may be added in the future, to handle the corresponding new properties.

@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