-
Notifications
You must be signed in to change notification settings - Fork 6
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
Allow fixtures to have closures as properties #13
Conversation
Update travis
Rename BaseDriver to the more implicit PDODriver. Remove Str class from being able to be passed in. Str generally won’t change.
- Add the ability to generate keys from a “key generator” - Include the default SHA1 and a Rails-like key generators - Add docs & tests
- Allow properties that are closures to be evaluated at generation time. - Add tests for this
Update dependencies
Update travis
Rename BaseDriver to the more implicit PDODriver. Remove Str class from being able to be passed in. Str generally won’t change.
- Add the ability to generate keys from a “key generator” - Include the default SHA1 and a Rails-like key generators - Add docs & tests
Add key generators
+1 But I don't think project owner is accepting PRs on master (per the Readme). |
I don't have a problem with accepting these into master. I think this is a pretty good idea and brings a bit more flexibility to the package. I'm still looking through these other PR's though. Please be patient. |
Im currently working on a version in branch https://github.com/onceit/fixture/tree/next. It seems as if functionality is broken / not documented correctly, also would like to see some additional functionality. Im moving pretty fast and breaking stuff so unlikely that ill be able to submit pull requests for each piece of changed functionality. Happy to merge back in as a version 1.x, if not I can fork the library Trying to stick with similar functionality to rails fixtures. |
I'd still like to see this PR merged. It's a big step in the right direction. |
I really like the idea of having closures, PSR4, Key Generators, etc. However, I can't merge this because of the following reasons:
Those a just a few issues I have with this. The biggest issue (and most frustrating) is that there are several features that I do want to add from these PR's (closures, PSR-4, Key generators, etc) but I can't because these all seem to based off of the same root branch and are all clumped together. There are also many arbitrary changes that appear to have been hastily made (name changes, dependency change, etc) without any discussion or forethought. So I'm going to merge in the first PR from this group (the dependencies update, etc). These other I'm not going to merge in and will probably have to implement myself in order to get the same features (and that sucks). |
@tabennett I can work on pushing independent PRs for Key generators, PSR-4, and closures. Would you want those on development branch or master? I agree about the illuminate support. At most, those should be "suggested" packages via composer. One reason I like this lib is because it's lightweight. |
I guess Ive jumped the gun a little, originally I had these broken in to different pull requests. I do understand why it must be frustrating and why some of the changes do need to be discussed. I can revisit maybe holding fire & creating separate pull requests for each piece of work. Just want to use this on a project and in its in its current state the library isn't functioning as per the readme or as excepted. I also may just continue with my fork. My comments & concerns below.
|
time.