-
Notifications
You must be signed in to change notification settings - Fork 39
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
ActionController::Parameters#require
signature needs adjustment
#231
Comments
ActionController::Parameters#require
signature needs adjustedActionController::Parameters#require
signature needs adjustment
Just ran into this same issue, where I can |
cc @amomchilov |
@aprescott Do you know what the full possible set of returnable types is? It should be Whatever that type is, that's what should be used as the return value of not just
That's a performance concession, Sorbet's runtime type-checking doesn't do deep recursive type-checks on Enumerables. The runtime type-checking calls |
I'm not sure! It would be good to match whatever
Found the docs explaining this right after my comment, realized my confusion! |
See #224 (review)
The text was updated successfully, but these errors were encountered: