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

active_hash: Fix ActiveHash::Base.find does not return nil #455

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

tk0miya
Copy link
Contributor

@tk0miya tk0miya commented Oct 21, 2023

It raises an exception if the target entry not found. Therefore it would be better to use non-optional types for its retval.

@tk0miya tk0miya requested a review from pocke as a code owner October 21, 2023 05:08
It raises an exception if the target entry not found.  Therefore it
would be better to use non-optional types for its retval.
@tk0miya tk0miya force-pushed the update_active_hash_find branch from 1f68f7b to eedd11d Compare October 23, 2023 04:13
@pocke pocke merged commit a65b48b into ruby:main Oct 28, 2023
3 checks passed
@tk0miya tk0miya deleted the update_active_hash_find branch October 28, 2023 16:22
sw-square pushed a commit to sw-square/gem_rbs_collection that referenced this pull request Jan 22, 2024
It raises an exception if the target entry not found.  Therefore it
would be better to use non-optional types for its retval.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants