Skip to content

Conversation

@ericproulx
Copy link
Contributor

Fix #2551

@ericproulx ericproulx marked this pull request as ready for review April 5, 2025 13:36
Fix rubocop
@ericproulx ericproulx requested a review from dblock April 5, 2025 13:41
@ericproulx ericproulx changed the title Fix declared_hash_attr where passed_params is not an Hash Fix declared_hash_attr when passed_params is not an Hash Apr 5, 2025
@dblock dblock merged commit 67ea152 into ruby-grape:master Apr 5, 2025
63 checks passed
@dblock
Copy link
Member

dblock commented Apr 5, 2025

If you git --amend your CHANGELOG and force push I can avoid squashing on merge ;)

ericproulx added a commit to ericproulx/grape that referenced this pull request Jun 22, 2025
…2552)

* Fix declared_hash_attr where passed_params could not respond to `try`

* Add CHANGELOG.md
Fix rubocop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'undefined method key?' when calling declared when params contain an empty array.

2 participants