Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex types params #5

Closed
vladfaust opened this issue Nov 12, 2017 · 0 comments
Closed

Complex types params #5

vladfaust opened this issue Nov 12, 2017 · 0 comments

Comments

@vladfaust
Copy link
Member

vladfaust commented Nov 12, 2017

Cast String to Array or Hash, e.g:

params do
  param :ids, Array(String)
end

The issue is that different content types have different ways to pass arrays (and hashes). Moreover, there is no single standard of how-to... 🤔

@vladfaust vladfaust self-assigned this Nov 12, 2017
@vladfaust vladfaust changed the title Array params Complex types params Nov 12, 2017
@vladfaust vladfaust added the rfc label Nov 24, 2017
vladfaust added a commit that referenced this issue May 11, 2018
After ~30 hours of trials I've found an ugly but working solution!

Closes #24, related to #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant