this should be: `container.lookupFactory` as `container.resolve` merely provides the raw, uninjectable factory.