We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b24c0 commit 20efbb2Copy full SHA for 20efbb2
1 file changed
README.md
@@ -104,7 +104,7 @@ let mutation = MyExampleMutation()
104
105
### Fetching the query/perform mutation
106
```swift
107
-let apiAdapter = GraphQLAPIAdapter(url: URL("https://MyAPIUrl.com")!)
+let apiAdapter = GraphQLAPIAdapter(url: URL(string: "https://MyAPIUrl.com")!)
108
let queryResult = await apiAdapter.fetch(query: query)
109
let mutationResult = await apiAdapter.perform(mutation: mutation)
110
```
0 commit comments