Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use Refined for core domain? #87

Open
pauljamescleary opened this issue May 19, 2018 · 0 comments
Open

Use Refined for core domain? #87

pauljamescleary opened this issue May 19, 2018 · 0 comments

Comments

@pauljamescleary
Copy link
Owner

I would like to enforce invariants in the core domain.

A few issues that always troubled me:

  1. Do we have a separate "layer" for JSON vs. our core domain model?
  2. How do we enforce invariants in our core domain model while remaining compatible with json and database serialization?

It maybe possible to do this with Refined + Circe Refined.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant