rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.08k stars 161 forks source link

Dynamic command registry #406

Closed solnic closed 7 years ago

solnic commented 7 years ago

Just like with mapper registry, this turns command registry into a dynamic registry that can compile commands on the fly and encapsulate access to commands in Relation#command. All relations have access to their command registries as a consequence.