We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a very basic test controller:
public class StatusController : ApiController { [HttpGet] public bool IsAlive() { return true; } }
And the following test will throw an exception:
` var route = "/api/Status/IsAlive";
MyWebApi .Routes() .ShouldMap(route) .To<StatusController>(c => c.IsAlive());`
since it cannot convert the lambda expression to a MethodCallExpression.
The text was updated successfully, but these errors were encountered:
@alz86 I will take a look, thank you!
Sorry, something went wrong.
Fixed a bug when a method call expression contain a cast to object (c…
7549e78
…loses #269)
ivaylokenov
No branches or pull requests
I have a very basic test controller:
public class StatusController : ApiController { [HttpGet] public bool IsAlive() { return true; } }
And the following test will throw an exception:
`
var route = "/api/Status/IsAlive";
since it cannot convert the lambda expression to a MethodCallExpression.
The text was updated successfully, but these errors were encountered: