There is some Result type confusion/inconsistency with AuthorizationResult and ValidationPassedResult.
AuthorizationResult is in the Results namespace, but is not an actual Result subclass. It was originally intended to be used with an IAuthorizer<T> interface that was not yet ported to this library. This should be moved out and renamed (TBD).
ValidationPassedResult is only intended to be used with IValidator<T>, not as an actual result type from a command or query handler, which is technically possible today since it ultimately subclasses Result through ValidationResult. We should separate out validation outputs from the Result hierarchy.
There is some Result type confusion/inconsistency with AuthorizationResult and ValidationPassedResult.
AuthorizationResult is in the Results namespace, but is not an actual Result subclass. It was originally intended to be used with an
IAuthorizer<T>interface that was not yet ported to this library. This should be moved out and renamed (TBD).ValidationPassedResult is only intended to be used with
IValidator<T>, not as an actual result type from a command or query handler, which is technically possible today since it ultimately subclasses Result through ValidationResult. We should separate out validation outputs from the Result hierarchy.