Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a performance issue with dependent params
Fixes #2100 The reason was in `ActiveSupport::HashWithIndifferentAccess`, it is super expensive. When users use `Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder` or `Grape::Extensions::Hashie::Mash::ParamBuilder` as a parameter builder there is no change. However, users who use `Grape::Extensions::Hash::ParamBuilder` must make sure an attribute to be dependent on must be a symbol. given :matrix do # block here end
- Loading branch information