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
Create the filter in ForEvolve.OperationResults.AspNetCore (review this, maybe creating a standalone project would be best?)
Allow the configuration of ExceptionTransformer that could map specific exception type(s) to an IOperationResult allowing customization of the exception convention pipeline. This could be based on, use, or update the concepts of IOperationResultStandardizer.
The ExceptionTransformer should support returning any type, no just IOperationResult, making this compatible with any system (including, but not limited to, my old DynamicInternalServerError projcet).
Add the filter to the AddForEvolveOperationResultFilters() extension method or create an AddForEvolveOperationResultApiFilters() method to differentiate API filters vs MVC filters (or both); TODO: review/rename these to be more generic and less "OperationResult-centric".
OperationResult-centric stuff could be part of another assembly, following an assembly structure similar to:
ForEvolve.ExceptionFilters.Abstraction
ForEvolve.ExceptionFilters.AspNetCore ( or ForEvolve.ExceptionFilters.AspNet)
ForEvolve.OperationResults.AspNetCore
(review this, maybe creating a standalone project would be best?)ExceptionTransformer
that could map specific exception type(s) to anIOperationResult
allowing customization of the exception convention pipeline. This could be based on, use, or update the concepts ofIOperationResultStandardizer
.ExceptionTransformer
should support returning any type, no justIOperationResult
, making this compatible with any system (including, but not limited to, my oldDynamicInternalServerError
projcet).AddForEvolveOperationResultFilters()
extension method or create anAddForEvolveOperationResultApiFilters()
method to differentiate API filters vs MVC filters (or both); TODO: review/rename these to be more generic and less "OperationResult-centric".OperationResult-centric stuff could be part of another assembly, following an assembly structure similar to:
ForEvolve.ExceptionFilters.Abstraction
ForEvolve.ExceptionFilters.AspNetCore
( orForEvolve.ExceptionFilters.AspNet
)ForEvolve.ExceptionFilters.AspNetCore.OperationResults
ForEvolve.ExceptionFilters.AspNetCore.DynamicInternalServerError
(maybe?)ForEvolve.ExceptionFilters.MediatR
(orForEvolve.ExceptionFilters.VerticalSlice
)ForEvolve.ExceptionFilters.MediatR.OperationResults
ForEvolve.ExceptionFilters.MediatR.DynamicInternalServerError
(maybe?)The text was updated successfully, but these errors were encountered: