-
-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
During the rom container setup, if would be very useful to have a struct_namespace setting so that we don't need to pass this to Repositories/Relations.
Another idea is that this could be part of auto_registration under a certain directory (I'm biased towards Entities :p )
Examples
config = ROM::Configuration.new(:sql, 'sqlite::memory:')
config.struct_namespace SomeConstant::Maybe::MultiLevelThis would reduce the amount of boilerplate when setting up repositories & relations needed. Of course, a local call to struct_namespace should have precedence (for folks who split theirs entities into a bunch of different namespaces).
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog