3 ms·
Show HN: typed_params – structured and typed parameters for Rails controllers
- ezekg 3y agotyped_params is an alternative to Rails strong parameters for controller params, offering an intuitive DSL for defining structured and strongly-typed controller parameter schemas for Rails APIs. We’ve been using it (and iterations of it) since 2016 [0] and just recently extracted it into its own open source gem. [0]: https://github.com/keygen-sh/keygen-api/commit/fb9ade2cac60a1a55f6eb6e1e2e4440a20e0734e https://github.com/keygen-sh/keygen-api/commit/fb9ade2cac60a...