Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Gardening, Eloquent edition#394

Merged
chuckadams merged 9 commits intomainfrom
chuck/dev/gardenias
Nov 18, 2025
Merged

Gardening, Eloquent edition#394
chuckadams merged 9 commits intomainfrom
chuck/dev/gardenias

Conversation

@chuckadams
Copy link
Contributor

Pull Request

What changed?

Various minor changes and some groundwork for major ones to come:

  • Added HasFetchMethods trait for a more soundly-typed alternative to the overloaded Model::find methods.
  • Changed BaseModel::_create to BaseModel::create, since IDEs seem to have trouble finding ::create.

Why did it change?

Stronger types are safer and more convenient. Whats not to love? We're also laying down a solid foundation for a DTO-based Repository layer that can brush even more of Eloquent under the rug.

Did you fix any specific issues?

none

CERTIFICATION

By opening this pull request, I do agree to abide by the Code of Conduct and be bound by the terms of the Contribution Guidelines in effect on the date and time of my contribution as proven by the revision information in GitHub.

@chuckadams chuckadams marked this pull request as ready for review November 18, 2025 18:40
@chuckadams chuckadams merged commit 190bc11 into main Nov 18, 2025
4 checks passed
@chuckadams chuckadams deleted the chuck/dev/gardenias branch November 18, 2025 18:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant