Dancer2
Dancer2 copied to clipboard
Feature/engine namespaces 1323
Draft implementation to allow fully qualified namespaces for all engines, as discussed some time ago in #1323.
Draft PR before I go write more tests / documentation to ensure this is where we want to go:
set engines => {
serialier => {
'My::Awesome::Serializer => { ... },
},
template => {
'My::Template::DWIM => { ... }.
},
};
set serializer => `+My::Awesome::Serializer`;
set template => `+My::Template::DWIM`;
@SysPete @racke @cromedome thoughts ?
Sounds good to me. :+1:
Just make sure that you don't repeat the serialier typo in the documentation.
set engines => {
serialier => {
'My::Awesome::Serializer => { ... },
},
template => {
'My::Template::DWIM => { ... }.
},
};
@veryrusty :+1: for using +
as a FQ namespace indicator as it follows a pattern used elsewhere. Very happy to see this, thank you!
Yes! 👍 I like what you've done here! Please keep running with it.