Trying to setup a dry-system project that uses ROM.
I has followed the berg project, as advised, although this is not a web project.
I can't get it working, I can't access the repositories and objects I'm trying to register in the container.
Maybe I'm registering them incorrectly or failing to getting them back after that. I don't know.
Could someone give a one-minute glance to the project and tell what I'm doing wrong?
Thank you very much.
persistance. Also, here you should use
schema(:users, infer: true) do. see
infer:docs. It works for me after applying these changes.
Dry::System::Container.keysis used, even though the dependency has been booted?
YourRel.new(gateway.dataset(:your_rel))and storing the instance in registry under
:rel_namekey (names are configurable through
register_assetting in rel class)