mikeobrien / WebApi.StructureMap

Web API StructureMap Integration
MIT License
12 stars 5 forks source link

fix null reference in Extensions.cs #5

Closed ptixed closed 6 years ago

ptixed commented 6 years ago

fix exception occuring when some depedencies are not present + test

ptixed commented 6 years ago

Changed the extension methods so they either pass parameters with their actual type like it was before or in case of a null use the declared type.

mikeobrien commented 6 years ago

Thx! Pushed to nuget, will take a bit to validate and index.