Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect hash_access setting when using expose_nil: false option #359

Merged
merged 5 commits into from
Oct 14, 2021

Conversation

magni-
Copy link
Contributor

@magni- magni- commented Oct 8, 2021

Fixes #358

The first commit is unrelated. bundle exec rake surfaced a Rubocop warning, so I figured I'd fix it.

Grape::Entity.hash_access= was added back in #319, but I didn't realize it was a thing until I dove into the code, so I added it to the README.

@magni- magni- force-pushed the pp/358-expose_nil-hash_access branch from dca7c1c to 23043a3 Compare October 10, 2021 05:05
@magni-
Copy link
Contributor Author

magni- commented Oct 14, 2021

@LeFnord Can you please approve the CI workflow? 🙏🏼 Tests pass locally

@LeFnord
Copy link
Member

LeFnord commented Oct 14, 2021

Thank you @magni-

@LeFnord LeFnord merged commit 18a4b01 into ruby-grape:master Oct 14, 2021
@magni- magni- deleted the pp/358-expose_nil-hash_access branch October 15, 2021 00:35
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.

expose_nil option doesn't respect Entity.hash_access
2 participants