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

Example with persistence support #2

Open
thaingo opened this issue Dec 11, 2019 · 1 comment
Open

Example with persistence support #2

thaingo opened this issue Dec 11, 2019 · 1 comment

Comments

@thaingo
Copy link

thaingo commented Dec 11, 2019

Hi @ghacupha,
Could you please provide an example similar to AccountTest but with persistence support? I have played a bit with your code but still do not have a clear understanding of a right way to build a persistence model of an account that supports, let's say, getting its balance at a point of time.

Thanks,
Thai

@ghacupha
Copy link
Owner

Challenge accepted. I will work on this, though the design wasn't specifically created with persistence in mind, there is a merit to being able to apply the concept to persistent entities. This may take the form of implementing the pattern using repositories and services, but we'll see.

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

2 participants