Subject: | Wishlist: parameterized domain names |
The current design sets the domain name once at the class level, but
this means there can only ever be one 'table' of that name for any given
AWS account. It would be very nice to allow some sort of parameterized
domain name or prefix to allow multiple copies to exist. E.g.
my $library = Library->new(access_key => 'xxx', secret_key => 'yyy',
prefix => 'dev' );
my $specific_book = $library->domain('book')->find('id goes here');
In the case above, the idea is that $specific_book would actually
reference the domain 'dev.book' and not literally 'book'.
I looked into it briefly, but got lost in the Moose-ness.
-- David