Resolve directly from a custom container