ufront / ufront-mvc

The core MVC framework that powers ufront
MIT License
17 stars 15 forks source link

Optional Float argument becomes NaN #49

Closed kevinresol closed 6 years ago

kevinresol commented 8 years ago

The bug should come from somewhere near here. https://github.com/ufront/ufront-mvc/blob/c41e235a6c5961b4b088376bdac2f86e3384d509/src/ufront/web/ControllerMacros.hx#L651

kevinresol commented 8 years ago

Ok, when the argument is optional (? prefixed) the check expression is not generated. I think even if the argument is optional, it should be still validated if it is present?

kevinresol commented 6 years ago

Cleaning up my old issues and I think this is no longer needed.