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
{{ message }}
Repository navigation
Commit 19e5dad
Browse filesBrowse the repository at this point in the historyBrowse files
Build param defaults and custom type coercions from frozen objects (#3097)
DefaultValidator and CustomTypeCoercer built procs whose self was the
validator or the coercer, closing over the default or the coercion
method, so a compiled API holding one could not be frozen all the way
down. They build small Data objects answering call instead.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
*[#3095](https://github.com/ruby-grape/grape/pull/3095): Freeze Grape's constants all the way down - [@ericproulx](https://github.com/ericproulx).
18
18
*[#3096](https://github.com/ruby-grape/grape/pull/3096): Define Grape's callable constants as modules rather than lambdas - [@ericproulx](https://github.com/ericproulx).
19
+
*[#3097](https://github.com/ruby-grape/grape/pull/3097): Build param defaults and custom type coercions from frozen objects rather than procs - [@ericproulx](https://github.com/ericproulx).
19
20
*[#3098](https://github.com/ruby-grape/grape/pull/3098): Look up the header versioner's vendor pattern once, when it is built - [@ericproulx](https://github.com/ericproulx).
0 commit comments