Skip to content

Commit 681c74d

Browse files
authored
Merge pull request #9 from futuredapp/housekeep/update-readme-documentation
Update readme documentation
2 parents 9a446a3 + e9c8803 commit 681c74d

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,21 @@
33
Lightweight GraphQL API client based on [Apollo iOS](https://github.com/apollographql/apollo-ios).
44
Developed to simplify [Futured](https://www.futured.app) in-house development of applications, that work with GraphQL APIs.
55

6+
## Requirements
7+
8+
- iOS 16.0+ / macOS 13.0+
9+
- Swift 5.9+
10+
- Apollo iOS 1.17.0
11+
12+
## Limitations
13+
614
Currently there is no support for some Apollo's features:
715
- Apollo built-in cache
816
- GraphQL subscriptions
917
- Custom interceptors
1018

19+
Network observers are available for logging and analytics.
20+
1121
## Installation
1222

1323
Install or add following line to your dependencies:
@@ -110,7 +120,9 @@ let mutation = MyExampleMutation()
110120
import GraphQLAPIKit
111121
import GraphQLGenerated
112122

113-
let apiAdapter = GraphQLAPIAdapter(url: URL(string: "https://MyAPIUrl.com")!)
123+
let apiAdapter = GraphQLAPIAdapter(
124+
url: URL(string: "https://api.example.com/graphql")!
125+
)
114126
let queryResult = await apiAdapter.fetch(query: query)
115127
let mutationResult = await apiAdapter.perform(mutation: mutation)
116128
```

0 commit comments

Comments
 (0)