Track tasks and feature requests
Join 36 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesMVC with parameters and context #1205
Comments
This comment has been minimized.
This comment has been minimized.
|
Hello @apuckey, This is expected failure because you don't need the path parameter's bindable input arguments( You are the first dev raised this as an issue, however I agree with you, you expected something else and something other happened. Give me a chance to, at least, fix that behavior on the upcoming release. Thank you, |
This comment has been minimized.
This comment has been minimized.
|
No worries, Thanks! |


apuckey commentedFeb 27, 2019
•
edited
According to the documentation iris.Context can be passed in as the first argument to a MVC function like so:
Using the Get() function works however using GetById is resulting in an application panic:
I'm registering the controller as follows: