Hey,
Hanami 2.2.0.beta1 is awesome. Thank you for the work!
I have an another hanami 2.1 app where the rom-db-layer was built by myself. I kept the relations at app-level and used the repo pattern in the slices, so actually option 2 described in the forum post. Since 2 slices used the payments table, I added a base payment_repo in the app-level, from which the slice payment-repos inherited.
How would you solve this in hanami 2.2 with the config.db.import_from_parent = true
-approach? Should we try to move the shared functionality to the relation class and keep the repos self-contained? Or is there a way to create a base-payment-repo in the top level and make it compatible with the hanami 2.2 inheritance hierarchy?
Thanks