You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -949,8 +949,9 @@ end
949
949
950
950
You may register custom formatters that can be utilized in your schemas.
951
951
952
-
The `transform` proc accepts a params hash, as well as optional `controller`
953
-
and `schema` keywords. The proc should return the formatted params.
952
+
Each format consists of, at minimum, a `transform:` lambda, accepting a params
953
+
hash, as well as optional `controller:` and `schema:` keywords, and returning
954
+
the formatted params. For more usage examples, see [the default formatters](https://github.com/keygen-sh/typed_params/tree/master/lib/typed_params/formatters).
0 commit comments