Skip to content

Pull IServiceScopeFactory from context.RequestServices #796

Closed
@Shane32

Description

@Shane32

I mean only that specifically this dependency is somewhat different from the rest in the sense that it is not mandatory and it may not be obtained at all. I understand that one can pull all dependencies from HttpContext.RequestServices. I do not call for this - _documentExecuter and _serializer should be taken as dependencies. I'm saying more about not to consider any API for working with scopes as dependency. It's internal infrastructure code.

Originally posted by @sungam3r in #774 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions