Closed lboyd closed 8 years ago
Would be great to have @neverendingqs and @j3parker take a look if you have time...
Weird, I'm having trouble finding this on MSDN. The default is true
I take it?
EDIT: found it, but not clear? https://msdn.microsoft.com/en-us/library/system.web.http.controllers.httpactiondescriptor.getcustomattributes(v=vs.118).aspx#M:System.Web.Http.Controllers.HttpActionDescriptor.GetCustomAttributes``1
I can't find the source code for System.Web.Http
though. I suppose if it works I'm cool with it. I'd usually just put inherit: true
to avoid the confusion but nbd. Let me know if you've tried it and it works.
+1 on explicitly calling it out (don't see a downside with being more verbose here).
Found the abstract class: https://github.com/ASP-NET-MVC/aspnetwebstack/blob/master/src/System.Web.Http/Controllers/HttpActionDescriptor.cs#L161.
Yeah no problem from my side calling it out explicitly!
:shipit:
Remove inheritance restriction to allow this attribute to be inherited from Abstract classes. Resulted from investigation of : https://rally1.rallydev.com/#/23525809118d/detail/userstory/57136951529 [MetronAPI] Add new default scope for Metron API routes