Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-perry committed Sep 22, 2020
1 parent 0a5efd7 commit 24bd8bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
],
dependencies: [
.package(name: "Apollo",
url: "https://github.com/apollographql/apollo-ios.git", from: "0.34.0-rc.1")
url: "https://github.com/apollographql/apollo-ios.git", from: "0.34.0-beta2")
],
targets: [
.target(name: "ApolloCombine", dependencies: [.product(name: "Apollo", package: "Apollo")])
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

A collection of Combine publishers for the [Apollo iOS client](https://github.com/apollographql/apollo-ios).

## Versions
The Apollo iOS client uses a new networking stack beginning with 0.34.0-beta2, so the version of ApolloCombine you should use depends on whether you have adopted this change.

- Use ApolloCombine release 0.2.2 if you have not upgraded to the new networking stack
- Use ApolloCombine release 0.3.0 and above if you are using the new networking stack

## Usage
The extension to ApolloClient (in the aptly named `ApolloClientExtensions`) includes methods whose inputs mirror the existing ApolloClient operation methods. Instead of including a result handler, though, these methods return Combine publishers that deliver the results of the operation to subscribers.

Expand Down

0 comments on commit 24bd8bc

Please sign in to comment.