This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ErrorOr; | |
using global::MediatR; | |
/// <summary> | |
/// A logging behavior for MediatR. Logs the request and any exceptions that occur. | |
/// </summary> | |
public class MediatRLoggerIErrorOr<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> | |
where TRequest : notnull | |
where TResponse : IErrorOr | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"properties": { | |
"categories": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, |