Skip to content

Commit ee481d4

Browse files
authored
Remove unused hint argument from publishers (#120)
1 parent c86b77f commit ee481d4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/ParseSwift/Types/Query+combine.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ public extension Query {
3131
/**
3232
Finds objects *asynchronously* and publishes when complete.
3333
- parameter explain: Used to toggle the information on the query plan.
34-
- parameter hint: String or Object of index that should be used when executing query.
3534
- parameter options: A set of header options sent to the server. Defaults to an empty set.
3635
- returns: A publisher that eventually produces a single value and then finishes or fails.
3736
*/
3837
func findPublisher<U: Decodable>(explain: Bool,
39-
hint: String? = nil,
4038
options: API.Options = []) -> Future<[U], ParseError> {
4139
Future { promise in
4240
self.find(explain: explain,
@@ -78,12 +76,10 @@ public extension Query {
7876
/**
7977
Gets an object *asynchronously* and publishes when complete.
8078
- parameter explain: Used to toggle the information on the query plan.
81-
- parameter hint: String or Object of index that should be used when executing query.
8279
- parameter options: A set of header options sent to the server. Defaults to an empty set.
8380
- returns: A publisher that eventually produces a single value and then finishes or fails.
8481
*/
8582
func firstPublisher<U: Decodable>(explain: Bool,
86-
hint: String? = nil,
8783
options: API.Options = []) -> Future<U, ParseError> {
8884
Future { promise in
8985
self.first(explain: explain,
@@ -107,12 +103,10 @@ public extension Query {
107103
/**
108104
Count objects *asynchronously* and publishes when complete.
109105
- parameter explain: Used to toggle the information on the query plan.
110-
- parameter hint: String or Object of index that should be used when executing query.
111106
- parameter options: A set of header options sent to the server. Defaults to an empty set.
112107
- returns: A publisher that eventually produces a single value and then finishes or fails.
113108
*/
114109
func countPublisher<U: Decodable>(explain: Bool,
115-
hint: String? = nil,
116110
options: API.Options = []) -> Future<U, ParseError> {
117111
Future { promise in
118112
self.count(explain: explain,

0 commit comments

Comments
 (0)