Closed j0nnyhughes closed 4 years ago
When you request hal+json and there is no representation registered for the requested resource the formatter calls:
hal+json
await WriteResponseBodyAsync(context);
The dotnet core implementation of this throws an invalid operation exception and instructs you to use the overload which accepts the encoding.
Added a test and changed to use suggested overload.
When you request
hal+json
and there is no representation registered for the requested resource the formatter calls:The dotnet core implementation of this throws an invalid operation exception and instructs you to use the overload which accepts the encoding.
Added a test and changed to use suggested overload.