These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
Dry::Container::Mixinthat once you’ve
extend-ed it in a class, any of that class’ subclasses share the same container storage?
MyApp::Container < Rodakase::Containerclass, which is top-level, and a
Main::Container < Rodakase::Containerclass, which is in a “sub-app”, how they actually ended up having access to all of the container registrations across the codebase. This appears to be why :)
extend, the container is “static,” at the class-level, meaning it should be the same for any subclasses.