rom-rb / rom

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

Schema and dataset setup improvements #665

Closed solnic closed 2 years ago

solnic commented 2 years ago

This makes resolver store schemas and datasets under nested namespaces so that it's possible to connect a schema with a dataset using relation identifier. A dataset with an id that matches a schema id means that this schema should be passed to dataset block (when block is provided of course). It also ensures that abstract components are not being built through resolving, which was a bug previously.