-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
needs-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automaticallyUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
hi
in my project i've configured msgpack as the format for APIs to use and all my endpoints use these formatters for all interactions
but identity endpoints still use json
using https://github.com/AArnott/Nerdbank.MessagePack with this config
builder
.Services.AddControllersWithViews()
.AddMvcOptions(option =>
{
option.OutputFormatters.Clear();
option.OutputFormatters.Add(
new MessagePackOutputFormatter(Witness.GeneratedTypeShapeProvider)
);
option.InputFormatters.Clear();
option.InputFormatters.Add(
new MessagePackInputFormatter(Witness.GeneratedTypeShapeProvider)
);
});i would expect all input and outputs to be msgpack
Expected Behavior
i expect all the edpoints to use the same format
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
9.0.110
Anything else?
Microsoft.AspNetCore.App 9.0.9
Metadata
Metadata
Assignees
Labels
needs-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automaticallyUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically