You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no need to register AddMvcCore() to make serialization work. Either register the required dependencies or create a custom ProblemDetailsFactory implementation.
If the following issue gets approved/fixed, it will be possible to remove the copy of DefaultProblemDetailsFactory from the ExceptionMapper source code, see: dotnet/aspnetcore#49982
Actual result
The DI container is not able to create
ProblemDetailsFactory
without registeringAddMvcCore()
.Expected result
There is no need to register
AddMvcCore()
to make serialization work. Either register the required dependencies or create a customProblemDetailsFactory
implementation.More info
The text was updated successfully, but these errors were encountered: