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

[10.x] Ensure createOrFirst does not return null at type level #48214

Closed

Conversation

mpyw
Copy link
Contributor

@mpyw mpyw commented Aug 28, 2023

Related to:

Replace first() with firstOrFail() to be safer since first() may return null at the type level.

@mpyw mpyw changed the title [10.x] Ensure createOrFirst does not return null [10.x] Ensure createOrFirst does not return null at type level Aug 28, 2023
@mpyw mpyw force-pushed the improve/ensure-create-or-first-not-null branch from d1eda29 to 43e7694 Compare August 28, 2023 02:47
@mpyw mpyw marked this pull request as ready for review August 28, 2023 02:52
@taylorotwell
Copy link
Member

Going to hold off on this one for now. Even though it should be fine. Will revisit at some point.

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.

2 participants