Currently the controller supports Bool, Int,Float,String,Date and their arrays as route parameters. They are parsed from html string to haxe values internally in ControllerMacros. It would be nice if users can provide their own parsers.
For example, currently ControllerMacros uses Date.fromString to parse a date. But if custom parsers are allowed I can parse, for example, "now" as Date.now()
Related: #48
Currently the controller supports
Bool,Int,Float,String,Dateand their arrays as route parameters. They are parsed from html string to haxe values internally inControllerMacros. It would be nice if users can provide their own parsers.For example, currently
ControllerMacrosusesDate.fromStringto parse a date. But if custom parsers are allowed I can parse, for example,"now"asDate.now()Related: #48