3 ms·
I think strong_params is a pretty weak way to do parameter parsing and share the author's frustration. I'm out of rails-land now, and using openapi docs and gen
by kevinmchugh 4y ago
I think strong_params is a pretty weak way to do parameter parsing and share the author's frustration. I'm out of rails-land now, and using openapi docs and generated middleware to handle all that for me. We're able to give the docs to customers and able to generate code for API clients.
dry_schema looks nice and a certain improvement over strong params, but I'd go a step further.