elixir-maru / maru

Elixir RESTful Framework
https://maru.readme.io
BSD 3-Clause "New" or "Revised" License
1.32k stars 84 forks source link

Add documentation / example for lists. #43

Closed idyll closed 7 years ago

idyll commented 7 years ago

It would be great if the documentation included an example like:

params do
  requires :tags, List[String]
end

as I had to do a bit of code spelunking to figure out how to allow for a list of strings.

falood commented 7 years ago

Hi @idyll

I have update it here and you can check test case for simple usage.

Leave me a message if you have any other questions, please.

idyll commented 7 years ago

Awesome. Thanks.