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

Implement the same level control on action level as in global #110

Open frostless opened 3 years ago

frostless commented 3 years ago

In global level we have many fine-grained control over how the AutoWrapper behaves. But when it comes to the action level, only this ShouldLogRequestData is still retained. Is there a reason why the global level control not implemented at the action level?

proudmonkey commented 3 years ago

Because there isn't a need. At the moment, only the RequestDataLogIgnore and AutoWrapIgnore attributes can be used within the action level. Is there any specific use case that you are trying to achieve?