Table of Contents

Interface IAsyncConvertEmptyActionResultFilter

Namespace
JsonApiDotNetCore.Middleware
Assembly
JsonApiDotNetCore.dll

Converts action result without parameters into action result with null parameter.

return NotFound() -> return NotFound(null)
This ensures our formatter is invoked, where we'll build a JSON:API compliant response. For details, see: https://github.com/dotnet/aspnetcore/issues/16969

[PublicAPI]
public interface IAsyncConvertEmptyActionResultFilter : IAsyncAlwaysRunResultFilter, IAsyncResultFilter, IFilterMetadata
Inherited Members