Skip to content

Params, if not passed, it is an empty Hash#121

Merged
Bhacaz merged 2 commits intomasterfrom
empty_hash_params
Sep 3, 2025
Merged

Params, if not passed, it is an empty Hash#121
Bhacaz merged 2 commits intomasterfrom
empty_hash_params

Conversation

@Bhacaz
Copy link
Collaborator

@Bhacaz Bhacaz commented Aug 22, 2025

This pull request improves the handling of the params option in the serializer by ensuring it defaults to an empty hash when not provided, preventing potential errors when accessing keys. The associated tests have been updated to reflect this change and to verify correct behavior when params is omitted.

Serializer parameter handling improvements:

Test updates for parameter handling:

@Bhacaz Bhacaz marked this pull request as ready for review August 22, 2025 14:08
@Bhacaz Bhacaz changed the title Params, if not passed, is an empty Hash Params, if not passed, it is an empty Hash Aug 22, 2025
@Bhacaz Bhacaz merged commit 7345409 into master Sep 3, 2025
8 checks passed
@Bhacaz Bhacaz deleted the empty_hash_params branch September 3, 2025 17:33
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.

2 participants