Mixing Domain Classes with SQL Mapping in Effect-TS: Pros and Cons
I was wondering what do you think about mixing domain classes with SQL mapping. It is present in the example. So, e.g. https://github.com/Effect-TS/examples/blob/main/examples/http-server/src/Domain/Group.ts is a domain class, but it extends Model from "@effect/sql". Do you think it is possible (without much boilerplate and overhead) and reasonable to have a clean domain and also use all benefits of generic repositories, open-api, and other stuff that is possible thanks to Model class from "@effect/sql"?
