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
Minor reorganizations in YapDatabaseExtensions.swift #78
Minor reorganizations in YapDatabaseExtensions.swift #78
Conversation
This minor reorganization just makes reading the implementation a little clearer, IMO. This is not a functional change, so rejection of this change would be understandable.
This results in the following structure in Xcode, wherein free functions operating on Persistable are grouped with the Persistable definition: ![](https://dropbox.dzombak.com/ghimages/Persistable.png) This minor reorganization just makes reading the implementation a little clearer, IMO. This is not a functional change, so rejection of this change would be understandable.
iOS and OS X tests seem to be passing locally for me. |
Yeah, it's probably just my little Mac Mini... |
Can you make sure that you've pulled the latest |
That's why the iOS tests are failing - it's timing out looking for the simulator. |
But the changes look good, I don't mind the churn if overall readability increases 👍 Thanks! |
I believe I've pulled in the latest |
Yeah, I think it's okay now, last one is just testing on iOS. There were some issues with Carthage on the build machines, seems to have resolved itself now. |
Current coverage is
|
Will leave these here for a bit in case there are any more things you spot. |
👍 thanks! |
@danthorpe I probably won't have any more proposals in the very near term. Thanks for looking over my changes! |
@cdzombak okay - great stuff, will merge your PRs, thanks! |
Minor reorganizations in YapDatabaseExtensions.swift
These changes are minor, opinion-based reorganizations with no functional change; thus this PR may be closed with no hard feelings if this code churn is undesirable.
d21165b separates
YapDB.Index
'sHashable
andCustomStringConvertible
implementations; they're not really related and it took me a moment to realize there wasn't a reason for them to be grouped together like that.8df385e groups free functions operating on
Persistable
s alongside the Persistable protocol definition, as so: