Skip to content

Retry and scoped services #8

Open
@YeskaNova

Description

@YeskaNova

Hi,

When you retry an inbound request, you reuse the same ServiceScope, I think that it's more natural and expected behavior to create a new Scope for each retry otherwise retries won't be independent to each other ( Imagine a DbContext as a ScopedService, we sure want to have a new DbContext ( Unit of Work ) for each retry ).

Yassine

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