diff --git a/packages/@ember/-internals/container/lib/container.ts b/packages/@ember/-internals/container/lib/container.ts index 1b7c596c74e..89e0b520cd0 100644 --- a/packages/@ember/-internals/container/lib/container.ts +++ b/packages/@ember/-internals/container/lib/container.ts @@ -504,14 +504,10 @@ export class FactoryManager { ); } - let props = {}; + let props = options ? { ...options } : {}; setOwner(props, container.owner!); setFactoryFor(props, this); - if (options !== undefined) { - props = Object.assign({}, props, options); - } - if (DEBUG) { let lazyInjections; let validationCache = this.container.validationCache;