Skip to content
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

Make all types CustomStringConvertible #185

Merged
merged 1 commit into from Jul 4, 2021
Merged

Conversation

cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented Jul 4, 2021

Allow all Parse types to be used by string interpolation: "My ParseObject: \(object)"

  • Make all types conform to CustomStringConvertible
  • Add test cases

@codecov
Copy link

codecov bot commented Jul 4, 2021

Codecov Report

Merging #185 (fe6881a) into main (715b553) will increase coverage by 0.04%.
The diff coverage is 89.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
+ Coverage   82.38%   82.42%   +0.04%     
==========================================
  Files          71       71              
  Lines        6705     6749      +44     
==========================================
+ Hits         5524     5563      +39     
- Misses       1181     1186       +5     
Impacted Files Coverage Δ
Sources/ParseSwift/Types/ParseGeoPoint.swift 98.33% <75.00%> (+0.05%) ⬆️
Sources/ParseSwift/Types/ParseFile.swift 85.45% <85.71%> (+<0.01%) ⬆️
Sources/ParseSwift/Types/ParseRelation.swift 82.89% <85.71%> (+0.28%) ⬆️
Sources/ParseSwift/Types/ParseVersion.swift 98.68% <85.71%> (-1.32%) ⬇️
Sources/ParseSwift/Types/Pointer.swift 80.85% <85.71%> (+0.85%) ⬆️
Sources/ParseSwift/Objects/ParseObject.swift 77.39% <100.00%> (+0.12%) ⬆️
Sources/ParseSwift/Types/ParseACL.swift 88.88% <100.00%> (+0.14%) ⬆️
Sources/ParseSwift/Types/ParseAnalytics.swift 99.10% <100.00%> (+0.01%) ⬆️
Sources/ParseSwift/Types/ParseCloud.swift 96.96% <100.00%> (+0.19%) ⬆️
Sources/ParseSwift/Types/ParseConfig.swift 95.89% <100.00%> (+0.11%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 715b553...fe6881a. Read the comment docs.

@cbaker6 cbaker6 merged commit 7af659b into main Jul 4, 2021
@cbaker6 cbaker6 deleted the customStringConvertible branch July 4, 2021 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant