-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RegisterHttpRequestMessage requires a ContainerBuilder but doesn't use it #22
Comments
FYI, the reason I'm not using the primary |
The It's definitely too late to just move the extension method but there are a couple of options:
I'm leaning towards the first option. Naming wise I don't think |
The first option is what I was thinking as well. |
The |
All this method really needs is an
HttpConfiguration
object, and as such it should really be an extension method onHttpConfiguration
, similar toMapHttpAttributeRoutes
or other built-in extension methods, not an extension method onContainerBuilder
, which it doesn't use.Also, because it doesn't use
ContainerBuilder
, there's no meaningful guidance on what container builder to call it on. I'm currently calling it on a throwaway instance just to avoid the argument null exception.The text was updated successfully, but these errors were encountered: