Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Review "Polly" approach #143

Open
Open
@bruno-brant

Description

@bruno-brant

Polly is a resilience library for .NET. It was somewhat coupled to Liquid (the name of the interface is ILightPolly, for instance).

Right now, for some unknown reason, WorkBench.Polly is different to other cached services, in that Polly is a public property, and it is written to by UseBase:

https://github.com/Avanade/Liquid-Application-Framework/blob/f2b5da239bd9f411386344053989609abcb4f1ce/src/Liquid.Middleware/UseBase.cs#L78

Well, that's a bit strange. It seems that all the protections of other services, such as not being able to set them twice, is lost...

We should rethink this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDiscussion over a feature that might evolve into a bug or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions