dotnet / dotnet/fsharp

Improve delegating handlers usability (call to base inside CEs scope)

Open
#15,139 1 comment 0 reactions 0 assignees View on GitHub
Area-Compiler-Checking Feature Request
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

**Is your feature request related to a problem? Please describe.**
https://wizardsofsmart.wordpress.com/2014/05/13/how-to-use-base-sendasync-in-f-delegatinghandler/
The issue is that without this trick is hard to use delegating handlers in F# aspnetcore, and it's just a very common scenario to customize httpClient in aspnetcore.

**Describe the solution you'd like**

would be nice if the normal approach of calling base inside a CE would work, like inside task CE or async CE

**Describe alternatives you've considered**

I have used the approach proposed in the article

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.