laravel blueprint factory fix

I took a look at blueprint last year-ish, and… held off. It was a bit too new for my comfort level, but still looked quite useful.

A couple months ago, I took a fresh look, and planned to use it for a new project.

I got things set up, generated models and tests and whatnot from my yaml file and… the tests didn’t work(!). Sure enough, someone else had the same problem. While issue was reported, there wasn’t any progress on it, so I tried to tackle it myself.

Long story short… my initial patch was wrong. My second patch… worked, but I didn’t have any tests demonstrating it (but the initial tests in place didn’t catch it anyway).

Jason McCreary, the project owner, took the time to take the core idea in my patch, and make it fit better in to the project, and… with release 2.4.0, my fix is contributed(!) Thank you Jason, for taking those extra steps. I’ve had other PRs I’ve done in the past where I didn’t follow some specific steps or process, and the fix was just ignored. Pointing out the root cause, and having someone more knowledgeable take it across the finish line, turned out great. 🙂

Similar Posts

  • PHP Quality Tools

    Curious about checking out the quality of your PHP project, but don’t know where to start? https://github.com/jakzal/phpqa is a project providing docker images of various tools to help measure aspects of your PHP code. will run the phploc tool on your current folder But… you can alias the tool, then simply run $ phpqa <toolname>…

  • CyclopsMonitor

    I’ve been posting more about this new service over on linkedin, but haven’t posted much here. CyclopsMonitor is a web monitoring service – checking if a web address is up, how fast it responds, if specific content is available, when SSL/TLS certs expire, when domain name expires, and… sending you notifications when problems occur. Currently,…

  • MySQL speed boost

    I hit a problem the other day with concurrent queries causing deadlocks.  Using innodb gives you a lot of protection with respect to transaction support, but it carries a moderate amount of overhead, and unless you’re aware of what’s going on, you may be paying a higher price which can eventually cause performance or deadlock…

  • Four Thousand Weeks

    I’m starting to read “Four Thousand Weeks” from Oliver Burkeman. I initially listened to much of the audio book, then bought a copy (link above to Amazon – no affiliate link). Have not finished yet, but the core message of the book seems to be There’s certainly more to it than this, and again, I’m…

Leave a Reply

Your email address will not be published. Required fields are marked *