onyxframework / http

An opinionated framework for scalable web 🌎
https://onyxframework.com/http
MIT License
142 stars 11 forks source link

Allow kebab-case params #12

Closed vladfaust closed 6 years ago

vladfaust commented 6 years ago

Currently this does not compile:

params do
  param :"my-param", String?
end

With following error:

Syntax error in expanded macro: define_params_tuple:9: expected ')' or named argument, not g

          g-recaptcha-response: String
          ^

Which is kinda expected.