Skip to content

Conversation

@davimacedo
Copy link
Member

@davimacedo davimacedo requested a review from dplewis July 10, 2019 18:03
@codecov
Copy link

codecov bot commented Jul 10, 2019

Codecov Report

Merging #855 into master will decrease coverage by 0.02%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #855      +/-   ##
==========================================
- Coverage    92.1%   92.07%   -0.03%     
==========================================
  Files          54       54              
  Lines        4953     4973      +20     
  Branches     1103     1109       +6     
==========================================
+ Hits         4562     4579      +17     
- Misses        391      394       +3
Impacted Files Coverage Δ
src/ParseQuery.js 95.64% <85.71%> (-0.41%) ⬇️

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 309790c...5819d50. Read the comment docs.

* @param {String} subqueryReadPreference The read preference for the sub queries.
* @return {Parse.Query} Returns the query, so you can chain this call.
*/
readPreference(readPreference: string, includeReadPreference: string, subqueryReadPreference: string): ParseQuery {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all theses fields required? For typing you can do:

includeReadPreference?: string, subqueryReadPreference?: string

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just fixed

@davimacedo davimacedo merged commit 174d108 into parse-community:master Jul 10, 2019
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.

2 participants