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

Disable fallback lookups for find_by_hashid methods #41

Merged
merged 2 commits into from
Nov 18, 2017

Conversation

jcypret
Copy link
Owner

@jcypret jcypret commented Nov 4, 2017

This existing implementation was falling back to an ID lookup when unable to decode hashid. It should instead return nil or raise an not found exception.

Fixes #35

This existing implementation was falling back to an ID lookup if unable to decode hashid. It should instead return nil or raise an not found exception.
@jcypret jcypret merged commit a1096b6 into master Nov 18, 2017
@jcypret jcypret deleted the find-by-fallback branch November 18, 2017 02:58
@jcypret jcypret removed the wip label Nov 18, 2017
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.

1 participant