Replies: 2 comments
-
|
I like this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is now possible in v0.10.0 using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I hope you're all doing well. I've been using
laravel-dddfor the past few days and have found it to be a valuable tool for my Laravel projects. I'd like to suggest a feature enhancement that I believe could further improve the package's usability.The current process involves generating the
BaseMdel. I believe this process could be simplified and made more user-friendly by introducing a new trait,HasDDDFactory.The proposed
HasDDDFactorytrait would serve as a drop-in replacement for the existingHasFactorytrait. It would automatically handle the detection of the appropriate factory path just like theBaseModel.The flexibility of the
HasDDDFactorytrait could also extend to models that don't directly extend the Model object, such as the User model. This adaptability adds to its potential usefulness.I would greatly appreciate your thoughts and insights on this proposal.
Beta Was this translation helpful? Give feedback.
All reactions