Skip to content

Bug in LightInjectServiceProviderFactory options #87

Closed

Description

@InlineAsm

Hi,

There is a bug in the constructor of LightInjectServiceProviderFactory that accepts ContainerOptions.

The options are cloned and microsoft settings are applied but then the original options that were passed in are used.

clonedOptions.WithMicrosoftSettings();
var container = new ServiceContainer(options);
containerFactory = () => new ServiceContainer(options);

Regards,
InlineAsm

Activity

  1. added a commit that references this issue on Sep 27, 2019
    05ee03a
  2. added a commit that references this issue on Sep 27, 2019
    956a781
  3. seesharper commented on Sep 27, 2019

    @seesharper
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions