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

Entities are too tightly bound to serializing methods used by outer layers #231

Open
jdisser opened this issue Apr 26, 2018 · 0 comments
Open

Comments

@jdisser
Copy link
Contributor

jdisser commented Apr 26, 2018

AbstractEntity has a default toJSON method that results in Entities that must implement a serial data interface that is determined by outer classes of the app thus requiring the entity classes to have knowledge of and be dependent on these outer classes. An improved design will utilize an Adapter class to serialize the entity objects and separate that functionality from the entities to increase the flexibility of the code.

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