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

Improve query hint #119

Merged
merged 3 commits into from
Apr 11, 2021
Merged

Improve query hint #119

merged 3 commits into from
Apr 11, 2021

Conversation

cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented Apr 11, 2021

A query hint can now be set using a method and its returned type is automatically inferred. In addition, a hint can now be any Encodable type instead of just a String. This is a breaking change if you were using hint.

  • Add method for hint and make it accept an Encodable argument
  • Add documentation
  • Fix playground example
  • Fix tests
  • Add changelog entry
  • Prepare for new release

@codecov
Copy link

codecov bot commented Apr 11, 2021

Codecov Report

Merging #119 (7716860) into main (db0fdea) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   80.90%   80.87%   -0.04%     
==========================================
  Files          65       65              
  Lines        5593     5589       -4     
==========================================
- Hits         4525     4520       -5     
- Misses       1068     1069       +1     
Impacted Files Coverage Δ
Sources/ParseSwift/Types/Query+combine.swift 100.00% <100.00%> (ø)
Sources/ParseSwift/Types/Query.swift 90.68% <100.00%> (ø)
Sources/ParseSwift/Objects/ParseUser.swift 81.52% <0.00%> (-0.16%) ⬇️

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 db0fdea...7716860. Read the comment docs.

@cbaker6 cbaker6 merged commit c86b77f into main Apr 11, 2021
@cbaker6 cbaker6 deleted the playgrounds branch April 11, 2021 17:37
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