Skip to content

fix: Accept nil serializer#92

Merged
dblock merged 4 commits into
ruby-grape:masterfrom
mateusnava:fix/serializer-nil
Jun 8, 2025
Merged

fix: Accept nil serializer#92
dblock merged 4 commits into
ruby-grape:masterfrom
mateusnava:fix/serializer-nil

Conversation

@mateusnava

Copy link
Copy Markdown
Contributor

No description provided.

@mateusnava mateusnava force-pushed the fix/serializer-nil branch 7 times, most recently from 2b037f7 to 39ed733 Compare August 30, 2019 21:22
@mateusnava

mateusnava commented Sep 2, 2019

Copy link
Copy Markdown
Contributor Author

The error is undefined method deep_dup for {}:Hash - #90

@dblock

dblock commented May 26, 2025

Copy link
Copy Markdown
Member

Very old but possibly still needed, rebase?

@dblock

dblock commented May 31, 2025

Copy link
Copy Markdown
Member

Rubocop is unhappy, please?

@dblock dblock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

I wonder whether we can memoize @serializer_class ||= ... to improve performance but maybe it doesn't matter.

Not sure what's up with Danger.

@dblock dblock merged commit cce31fe into ruby-grape:master Jun 8, 2025
8 of 10 checks passed
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.

3 participants