-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I've been playing with shaku for weeks now and I do think this is a huge enabler for Hexagonal Architecture in Rust.
The only limitation I came across is the inability to declare multiple Interface implementations for a Component struct. While in Rust would be perfectly possibile for struct FooService to implement the two traits Fizz and Buzz, I'm not able to annotate FooService with something like:
#[derive(Component)]
#[shaku(interfaces = [Fizz, Buzz])]
pub struct FooService{}
impl Fizz for FooService {}
impl Buzz for FooService {}What do you think about it?
Best regards and keep up the good work! 💪
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels