When trying to constrain an attribute route based on the incoming request, I could not find a way to do it other than an inline request with a fake parameter.
This will work in some cases (but not for example for a catch all route).
I suggest we allow passing constraints (not inlineconstraint or httpbuilder) right at attribute level.
Comments: Please ignore previous comment. It's incorrect and irrelevant.
This will work in some cases (but not for example for a catch all route).
I suggest we allow passing constraints (not inlineconstraint or httpbuilder) right at attribute level.
Comments: Please ignore previous comment. It's incorrect and irrelevant.