proudmonkey / AutoWrapper

A simple, yet customizable global exception handler and Http response wrapper for ASP.NET Core APIs.
MIT License
679 stars 82 forks source link

[FIX] Simplify AutoWrapper attributes and use endpoint metadata instead #89

Closed abelfiore closed 3 years ago

abelfiore commented 3 years ago

[FIX] Simplify AutoWrapper attributes by eliminating unneeded IActionFilter and request headers. Instead reference the metadata from the endpoints themselves.

This helps solve this issue: https://github.com/proudmonkey/AutoWrapper/issues/88