Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

walidcafe #1

Open
wants to merge 1,669 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
1669 commits
Select commit Hold shift + click to select a range
26c7bac
Merge pull request #1106 from apollographql/fix/spm-name
designatednerd Mar 30, 2020
6c32422
Update download link and SHASUM for version 2.25.0 of the CLI
designatednerd Mar 30, 2020
46ef941
Add a note about trying SPM codegen wrapper
designatednerd Mar 30, 2020
f7b1acb
Merge pull request #1107 from apollographql/update/cli
designatednerd Mar 30, 2020
00c4725
Add ability to get to Starscream's underlying SOCKS proxy property.
designatednerd Mar 31, 2020
5cf3fa4
Update dependency gatsby-theme-apollo-docs to v4.1.2
renovate-bot Mar 31, 2020
eaac649
Fix mutations with APQs
Mar 31, 2020
2e0d56e
Merge pull request #1110 from IvanStebletsov/fix/mutations_with_APQs
designatednerd Mar 31, 2020
9a1ecc0
Merge pull request #1108 from apollographql/add/websocket-property
designatednerd Mar 31, 2020
d64f0a2
use switch case instead of ternaries
designatednerd Mar 31, 2020
c06949e
Merge pull request #1112 from apollographql/update/ternary-tweaks
designatednerd Mar 31, 2020
61ec825
regenerate documentation
designatednerd Mar 31, 2020
1d3fe48
Update download link and SHASUM for 2.26.0
designatednerd Mar 31, 2020
d24ef1b
Merge pull request #1113 from apollographql/update/cli-again
designatednerd Mar 31, 2020
44c6ae2
Update changelog and bump version
designatednerd Mar 31, 2020
b6f3e01
fix typo in release checklist
designatednerd Apr 1, 2020
4a78020
bump version in tutorial intro and swift scripting docs
designatednerd Apr 1, 2020
7d3106a
Add documentation on how to set up APQs
designatednerd Apr 1, 2020
d2e6196
Merge pull request #1114 from apollographql/add/apq-docs
designatednerd Apr 1, 2020
c767e4a
Update dependency gatsby-theme-apollo-docs to v4.1.3
renovate-bot Apr 1, 2020
ffe111d
Update dependency gatsby-theme-apollo-docs to v4.1.4
renovate-bot Apr 2, 2020
0811e0f
Update dependency gatsby to v2.20.12
renovate-bot Apr 4, 2020
4a25e08
Fix typo in the loadLaunchDetails() function
ck3g Apr 5, 2020
f59cdde
Merge pull request #1123 from ck3g/patch-1
designatednerd Apr 6, 2020
1622737
Add ability to set the SSLTrustValidator for websocket
ketenshi Apr 6, 2020
40bde03
Replaced `didSet` with `get` and `set`
ketenshi Apr 6, 2020
92fbaea
Merge pull request #1124 from scorebet/add/websocket-security
designatednerd Apr 7, 2020
f9f502c
Don't compare a boolean value to true
ck3g Apr 7, 2020
242ec3a
Add instructions for an import statement
ck3g Apr 7, 2020
eea186d
improove HTTPNetworkTransportRetryDelegate.networkTransport(_:receive…
RolandasRazma Apr 7, 2020
a508062
update docs
RolandasRazma Apr 7, 2020
9fed2a3
updated code example
RolandasRazma Apr 7, 2020
7c8d3a9
Merge pull request #1126 from ck3g/patch-2
designatednerd Apr 7, 2020
c5a548b
Merge pull request #1127 from ck3g/patch-3
designatednerd Apr 7, 2020
60cb840
updated note
RolandasRazma Apr 7, 2020
6d33ee1
added test for returning different errors
RolandasRazma Apr 7, 2020
fe5d417
Add support for multiple headers
Apr 8, 2020
d2a4bd8
Add a missing import of DetailUISetupPanel
ck3g Apr 9, 2020
2c31b5b
Add instructions to import KeychainSwift
ck3g Apr 9, 2020
45fc848
Update instructions to add cancelTrip method
ck3g Apr 9, 2020
9cf04fc
Merge pull request #1134 from ck3g/patch-4
designatednerd Apr 9, 2020
7e5062d
Merge pull request #1136 from ck3g/patch-6
designatednerd Apr 9, 2020
8541153
Merge pull request #1135 from ck3g/patch-5
designatednerd Apr 9, 2020
c17b95e
Add missing curly brace
ck3g Apr 10, 2020
ee88846
Fix a typo in a comment
ck3g Apr 10, 2020
b19fcf5
Update GraphiQL URL
ck3g Apr 10, 2020
0097fe3
Update HTTP Header examples
ck3g Apr 10, 2020
ef76fa8
Add UIViewController+Alert section to the tutorial
ck3g Apr 10, 2020
4013a2a
Make BookTrip mutation example consistent
ck3g Apr 10, 2020
c072a3e
Merge pull request #1 from apollographql/master
Apr 10, 2020
4d02846
Removed invalidRecordShape and return fieldJSONValue when $reference …
Apr 10, 2020
b382392
Updated test to remove SQLiteNormalizedCacheError and only check for …
Apr 10, 2020
83943fc
Merge pull request #1137 from ck3g/patch-5
designatednerd Apr 10, 2020
d11b9f7
Merge pull request #1140 from ck3g/patch-9
designatednerd Apr 10, 2020
6a91bb0
Merge pull request #1142 from ck3g/patch-11
designatednerd Apr 10, 2020
db367d8
Merge pull request #1138 from ck3g/patch-7
designatednerd Apr 10, 2020
f014294
Updated Unit Test switch case
Apr 10, 2020
dae2ea1
Merge pull request #1139 from ck3g/patch-8
designatednerd Apr 10, 2020
de3ce9c
Change tripID to id in the tutorial
ck3g Apr 10, 2020
274fd15
cleanup tests
RolandasRazma Apr 10, 2020
c813e9c
Merge pull request #1143 from ck3g/fix-book-trip-mutation-examples-in…
designatednerd Apr 11, 2020
149806e
Merge pull request #1144 from LearnWithHomer/fix/sqlite_deserialize
designatednerd Apr 11, 2020
dfa5d92
Update dependency gatsby to v2.20.17
renovate-bot Apr 11, 2020
76f2138
Update ApolloClient.swift
RolandasRazma Apr 11, 2020
809aa22
Update dependency gatsby to v2.20.18
renovate-bot Apr 11, 2020
262e2e3
weak self
RolandasRazma Apr 11, 2020
cadaa7d
split tests into 2
RolandasRazma Apr 11, 2020
4115bbe
weak self
RolandasRazma Apr 11, 2020
6baac06
Merge pull request #1128 from getfiit/issues_1121
designatednerd Apr 12, 2020
08c4a62
Cancel watcher fetch only if new fetch includes server
flobories Apr 14, 2020
84c56e6
One case per line
flobories Apr 14, 2020
08febcb
Improve style
flobories Apr 14, 2020
02e734e
Fix as per @designatednerd comments
Apr 15, 2020
0d40da2
Merge pull request #1153 from LachlanMcCulloch/multiple-headers
designatednerd Apr 15, 2020
bb6b3de
no need for cancel as its "one shot" operation
RolandasRazma Apr 15, 2020
95f20be
Merge pull request #1148 from getfiit/cancel_networkTask
designatednerd Apr 15, 2020
8b6aa1b
Update dependency gatsby-theme-apollo-docs to v4.1.5
renovate-bot Apr 15, 2020
d1cb1de
Update authentication tutorial language
polandtyler Apr 16, 2020
61f976a
Add new schema/doc screenshot + revert import removal
polandtyler Apr 16, 2020
703a91c
Merge pull request #1160 from polandtyler/patch-1
designatednerd Apr 16, 2020
461b370
Update dependency gatsby to v2.20.25
renovate-bot Apr 18, 2020
a7cbcc0
update CLI to 2.27.2, use CDN
designatednerd Apr 20, 2020
e0ebca4
Merge pull request #1166 from apollographql/update/cli
designatednerd Apr 20, 2020
a5bc442
remove deprecation warning and default implementation
designatednerd Apr 20, 2020
d92ca68
Add docs on `ContinueAction`
designatednerd Apr 20, 2020
3325045
Merge pull request #1167 from apollographql/update/just-break
designatednerd Apr 21, 2020
cf19e6d
add links to github releases of all mentioned CLI versions
designatednerd Apr 21, 2020
6c030c4
regenerate documentation for new version
designatednerd Apr 21, 2020
40c3acc
update changelog and bump project version
designatednerd Apr 21, 2020
cf3d35c
Add flag to follow redirects to curl command
designatednerd Apr 21, 2020
1a36412
Merge pull request #1164 from apollographql/renovate/documentation-in…
designatednerd Apr 21, 2020
78fe423
Add URL session client and tests
designatednerd Apr 17, 2020
bb9354a
replace URLSession with URLSession client, add raw result callback an…
designatednerd Apr 17, 2020
6beec62
make raw completion optional, better error handling
designatednerd Apr 17, 2020
c55c4d2
fix annotations and make a couple methods subclassable
designatednerd Apr 17, 2020
29cddc5
replace `MockURLSession` with `MockURLSessionClient` subclass.
designatednerd Apr 17, 2020
0020b13
update tests to use mock client instead of mock session, fix a couple…
designatednerd Apr 17, 2020
08c68dc
add inline documentation to URLSessionClient
designatednerd Apr 17, 2020
b4df0a7
Update advanced setup docs to include some documentation for new URLS…
designatednerd Apr 17, 2020
89da035
test two different types of cancellation
designatednerd Apr 17, 2020
97497c5
add missing @available warnings for watchOS and tvOS
designatednerd Apr 19, 2020
4527d0b
Add note about delegate methods to the class documentation of URLSess…
designatednerd Apr 19, 2020
e852434
Remove documentation about private Cartfile
simonbilskyrollins Apr 22, 2020
90a4599
Merge pull request #1168 from simonbilskyrollins/patch-1
designatednerd Apr 22, 2020
d68300e
add context to error being returned when something goes wrong at the …
designatednerd Apr 24, 2020
a20ccad
Update dependency gatsby to v2.20.35
renovate-bot Apr 25, 2020
c97b136
Swift Scripting Docs targetRootURL Possible Typo
SimonRice Apr 25, 2020
83deb52
Update dependency gatsby to v2.20.36
renovate-bot Apr 25, 2020
353fbfe
Update dependency gatsby-theme-apollo-docs to v4.2.0
renovate-bot Apr 25, 2020
b91ccf6
Merge pull request #1172 from SimonRice/patch-1
designatednerd Apr 27, 2020
95eaacb
Merge pull request #1163 from apollographql/add/urlsessionclient
designatednerd Apr 27, 2020
9a52ba3
regenerate documentation
designatednerd Apr 27, 2020
1504755
update changelog and bump version
designatednerd Apr 27, 2020
554621b
fix availability with URLSessionStreamTask for OSX
designatednerd Apr 28, 2020
384c536
Fix typo in `URLSessionConfiguration`
Apr 28, 2020
8d25cf1
Merge pull request #1174 from john-mejia/patch-1
designatednerd Apr 28, 2020
c10314b
Add watchOS 3.0 availability for urlSession(:task:didFinishCollecting)
SimonRice Apr 28, 2020
0200b59
Merge pull request #1175 from SimonRice/watch-out
designatednerd Apr 28, 2020
ad60b1c
Update dependency gatsby-theme-apollo-docs to v4.2.2
renovate-bot Apr 29, 2020
d4ca958
Add CDN patch versions to changelog
designatednerd May 1, 2020
c4981f6
Update dependency gatsby to v2.21.9
renovate-bot May 2, 2020
54cd546
Merge pull request #1180 from apollographql/renovate/documentation-in…
designatednerd May 2, 2020
16d0d13
replace apollo_ prefix by custom extension
yuzushioh May 3, 2020
d5e353d
fix
yuzushioh May 3, 2020
ef4a2ba
update SwiftScripts
yuzushioh May 3, 2020
2ad054d
Switch dictionaries in URLSession to use `Atomic` wrapper to try and …
designatednerd May 3, 2020
332a4c1
fix comment
yuzushioh May 4, 2020
36781f4
Merge pull request #1184 from apollographql/fix/atomic-dicts
designatednerd May 4, 2020
26996f4
Update changelog and bump version
designatednerd May 4, 2020
05db51a
clear cache synchronously
May 4, 2020
739e9e6
Add a whole bunch of ASCII art to help explain filesystem structure
designatednerd May 4, 2020
8378dd9
label a few more things to indicate where they live
designatednerd May 4, 2020
7f8b9bc
fix typo
May 5, 2020
0bbe3b5
Merge pull request #1186 from gsabran/gui--clear-cache-sync
designatednerd May 5, 2020
c114e79
Merge pull request #1188 from apollographql/improve/swift-docs
designatednerd May 5, 2020
7701064
Fix documentation in `HTTPNetworkTransport`
bezoadam May 6, 2020
81f2812
Merge pull request #1193 from bezoadam/patch-1
designatednerd May 6, 2020
7d47492
update to version 2.27.4 of the CLI
designatednerd May 6, 2020
b893f36
Merge pull request #1195 from apollographql/update/cli
designatednerd May 6, 2020
cc30705
Add GraphQL optional for input objects
designatednerd Mar 16, 2020
cb7d54f
Make a few things public, use dict keys to *slightly* reduce stringly…
designatednerd Mar 16, 2020
7a08813
add input object generator and expected files
designatednerd Mar 18, 2020
1b57efe
Add test for generating object with no optionals
designatednerd Apr 1, 2020
5a7ee36
validate alignment works with no modifier
designatednerd Apr 1, 2020
fd22849
use json-modern to also output types
designatednerd Apr 21, 2020
bb8b568
WIP change to get Star wars to output json
designatednerd May 4, 2020
22f3a81
update to API.json from running json-modern
designatednerd May 4, 2020
ea5d14e
Update tests and variable type for updated JSON parsing
designatednerd May 4, 2020
5c5ab66
Update test to use json-modern
designatednerd May 6, 2020
35be5f0
update name of test to be accurate 🤦‍♀️
designatednerd May 6, 2020
0c26abf
make GraphQLOptional conform to Hashable
designatednerd May 6, 2020
700dc42
add methods to tell if a type is optional and generate a GraphQLOptio…
designatednerd May 6, 2020
5b1e878
Get first input object generator test passing \o/
designatednerd May 6, 2020
d2f87b3
add test for input object generated without modifier
designatednerd May 6, 2020
c7168df
Add initializer doc generation for input objects - addresses #562
designatednerd May 6, 2020
b19176a
turn on thread sanitizer for the codegen lib target
designatednerd May 6, 2020
d679517
Set the error and signal the semaphore from the same place to make su…
designatednerd May 6, 2020
8daa632
Take out temporary codegen options
designatednerd May 6, 2020
64213f1
Create ApolloCore lib and move GraphQLOptional to it
designatednerd May 6, 2020
015e534
Merge pull request #1183 from yuzushioh/apolloprefix
designatednerd May 7, 2020
a737bd7
Merge branch 'master' into add/input-objects + fix merge conflicts
designatednerd May 7, 2020
f4666d2
add docs to extension, leave note on why we still need `apollo_` on g…
designatednerd May 7, 2020
c2b633a
don't add xcconfig for core to target
designatednerd May 7, 2020
4745c75
fix tests that missed the train on the refactor
designatednerd May 7, 2020
09d963f
Merge pull request #1194 from apollographql/add/input-objects
designatednerd May 7, 2020
94377dc
Update dependency gatsby to v2.21.21
renovate-bot May 9, 2020
ca136d7
Merge remote-tracking branch 'origin/master' into florent/cancel_only…
flobories May 11, 2020
ef825e3
Merge branch 'master' into florent/cancel_only_when_server_fetch
flobories May 11, 2020
3899f9d
Revert first attempt
flobories May 11, 2020
2b07e69
Load from the store before attempting server fetch
flobories May 12, 2020
bcbb46f
Restore erroneously erased comment
flobories May 12, 2020
4b91a12
Update dependency gatsby-theme-apollo-docs to v4.2.3
renovate-bot May 16, 2020
b20b37e
Update dependency gatsby to v2.21.33
renovate-bot May 16, 2020
c3f1945
PR Feedback
flobories May 18, 2020
4f3bbd5
Added option to generate a custom scalar with a prefix.
CraigSiemens May 19, 2020
47f2430
Updates for PR comments:
CraigSiemens May 19, 2020
aa65d09
Merge pull request #1216 from CraigSiemens/custom-scalars-prefix
designatednerd May 19, 2020
9ffce33
Do not retain self strongly in async
flobories May 19, 2020
31c5339
Merge pull request #1156 from withDouble/florent/cancel_only_when_ser…
designatednerd May 19, 2020
7dc0573
Add ability to update header values for the websocket connection request
yootsubo May 22, 2020
4452b30
Add ability to update connectingPayload
yootsubo May 22, 2020
6440528
Update dependency gatsby to v2.22.9
renovate-bot May 23, 2020
343098a
Adding WebSocketTranspotTests
yootsubo May 24, 2020
c0f2886
Merge pull request #1224 from yootsubo/webSockTransportHeaderUpdate
designatednerd May 26, 2020
18a52a5
change extension of tutorial detail to mdx so it renders the expandab…
designatednerd May 27, 2020
6a4cc32
remove import from step 4 since it's now in step 6
designatednerd May 27, 2020
f2c3bd2
use self-closing image tags on detail view
designatednerd May 27, 2020
418dc11
Merge pull request #1229 from apollographql/fix/mdx
designatednerd May 27, 2020
1e2f325
pull out identifier into its own variable when setting up task
designatednerd May 19, 2020
6a9afaa
update transport setup in star wars server tests to not recreate the …
designatednerd May 19, 2020
0b31a84
test creating a bunch of identical requests at once creates different…
designatednerd May 19, 2020
19cdc59
get tests failing more consistently using concurrentperform
designatednerd May 19, 2020
90598a0
update test to hit HTTP bin direclty
designatednerd May 21, 2020
385962a
key of the URLSessionTask rather than the ID
designatednerd May 21, 2020
da677e5
prevent race condition on lazy var
designatednerd May 26, 2020
61ebda5
add mutating function to atomic
designatednerd May 26, 2020
645b910
centralize to task data structure, use mutating to handle locking bet…
designatednerd May 26, 2020
3f611d3
go back to using the task identifier since fixing concurrency seems t…
designatednerd May 26, 2020
cb8d46f
rm debugging print 🤦‍♀️
designatednerd May 27, 2020
0f5772e
clear all tasks when `URLSessionClient` gets deinited
designatednerd May 27, 2020
6c1c832
assertion failure if there's no task data found for a given URLSessio…
designatednerd May 27, 2020
e58853d
validate that all task IDs created are unique
designatednerd May 27, 2020
f64b3f6
Merge pull request #1227 from apollographql/fix/multifetch
designatednerd May 27, 2020
78f816b
add doc on atomic mutate method
designatednerd May 27, 2020
dd3d806
regenerate documentation for next release
designatednerd May 27, 2020
e847d75
update changelog and bump version
designatednerd May 27, 2020
004d575
Add changelog update I missed when prepping the changelog
designatednerd May 28, 2020
18528d5
Update links to current stuff
designatednerd May 29, 2020
c6e46e2
separate out enormous paragraph
designatednerd May 29, 2020
2879737
Update link to tutorials
designatednerd May 29, 2020
7ba40be
update info about related platforms
designatednerd May 29, 2020
2832c01
update apollo and xcode version compatibility
designatednerd May 29, 2020
b664dff
Merge pull request #1236 from apollographql/update/intro-page
designatednerd May 29, 2020
1e8c121
Update dependency gatsby to v2.22.15
renovate-bot May 31, 2020
26382ef
Add intermediate directories for sources and tests to filesystem ASCI…
designatednerd Jun 2, 2020
cc1c095
Merge pull request #1240 from apollographql/fix/filestruct
designatednerd Jun 2, 2020
ec66735
update documentation generator to use 1.1 of SourceDocs instead of my…
designatednerd Jun 2, 2020
24bd3c6
get rid of warning since it's working from Xcode now
designatednerd Jun 2, 2020
71cb0d1
Regenerate documentation with SourceDocs 1.1
designatednerd Jun 2, 2020
44d710b
Add generation and link to documentation for ApolloCore library
designatednerd Jun 2, 2020
7cceaab
Merge pull request #1241 from apollographql/update/doc-gen
designatednerd Jun 3, 2020
e9121dc
update js CLI to 2.28.0
designatednerd Jun 5, 2020
9d964fb
update package.resolved for swift scripts
designatednerd Jun 5, 2020
11de312
updates to StarWars API from changes to CLI
designatednerd Jun 5, 2020
2ff405c
updates to GitHub API from CLI changes
designatednerd Jun 5, 2020
fd57a41
Update dependency gatsby to v2.23.1
renovate-bot Jun 6, 2020
b03b487
Merge pull request #1247 from apollographql/renovate/documentation-in…
designatednerd Jun 7, 2020
8dc95d7
Merge pull request #1246 from apollographql/update/cli
designatednerd Jun 7, 2020
01de18b
Add import for Foundation
designatednerd Jun 8, 2020
a5471f8
update calls that changed in 0.28.0 to use new extension stuff
designatednerd Jun 8, 2020
bd9c3a8
clarify what directory you need to be in when you `swift run`.
designatednerd Jun 8, 2020
dee5372
Merge pull request #1252 from apollographql/update/swift-tutorial
designatednerd Jun 8, 2020
1b61236
move extension mechanism and `isEmpty` helpers into core
designatednerd Jun 7, 2020
3928778
add some more readable URL extensions
designatednerd Jun 7, 2020
23d0d83
use apollo extensions in codegen for clarity
designatednerd Jun 8, 2020
f6b2bc1
move optional boolean to core lib and get it working better with apol…
designatednerd Jun 10, 2020
71f5df8
Add PAT for dictionary and convert toStringKeyedDict to use apollo wr…
designatednerd Jun 10, 2020
8d033ab
fix failing test and use a more reliable method of getting different …
designatednerd Jun 10, 2020
9deb15a
move atomic to core and put extensions into a folder
designatednerd Jun 11, 2020
b51e38e
fix a couple breaks in the main lib
designatednerd Jun 11, 2020
37e0646
update bundle extension to use apollo namespace
designatednerd Jun 11, 2020
7655781
Update http response extension to use apollo namespace
designatednerd Jun 11, 2020
9656b19
update dispatch queue to use apollo namespace
designatednerd Jun 11, 2020
fcb7b89
move the SHA256 hash extension to core
designatednerd Jun 11, 2020
79dafa9
Update result extension to use apollo namespace
designatednerd Jun 12, 2020
21b3314
Change naming to use `underlying` instead of `value` since `value` is…
designatednerd Jun 12, 2020
f72309c
add tries to argument setup
designatednerd Jun 12, 2020
c8e7da9
fix cache dependent tests
designatednerd Jun 12, 2020
83cedf5
fix main apollo tests
designatednerd Jun 12, 2020
b66f99d
Merge pull request #1256 from apollographql/update/namespacing
designatednerd Jun 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add documentation on how to set up APQs
  • Loading branch information
designatednerd committed Apr 1, 2020

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit 7d3106a8c9ea00a0e5e64b4c852a6a94d5bc863a
19 changes: 19 additions & 0 deletions docs/source/fetching-queries.md
Original file line number Diff line number Diff line change
@@ -148,3 +148,22 @@ apollo.fetch(query: HeroAndFriendsNamesQuery(episode: .empire)) { result in
let heroAndFriendsNames = try! HeroAndFriendsNamesQuery.Data(jsonObject: deserialized)
}
```

## Automatic Persisted Queries

Apollo Server allows you to use a feature called [Automatic Persisted Queries](https://www.apollographql.com/docs/apollo-server/performance/apq/), or APQs, to needing to resend large query documents over and over.

Each query or mutation is identified by the SHA256 hash of its contents. If the hash can't be found by the server, it sends back an error indicating that it needs the full query. If it receives this specific error, the iOS SDK will automatically retry the operation with the full query document without you having to do anything.

To use APQs with the iOS SDK:

- When generating your code, pass a local path for output for the `--operationIdsPath` (or pass a file URL to the `operationIDsURL` on `ApolloCodegenOptions` if using Swift Scripting).

This will generate a document with all your operations, but more importantly it will cause operation identifiers to be generated with your code.
- When creating your `ApolloClient`, make sure to manually instantiate your `HTTPNetworkTransport` and set `enableAutoPersistedQueries` and `sendOperationIdentifiers` to `true`.

This will cause the `HTTPNetworkTransport` to actively look for the "Oh no, I don't have this hash!" error from the server.

By default, retries of queries will use `POST`. If for some reason (for example, your queries are hitting a CDN that has considerably better performance with `GET`), you need to use a `GET` for the 2nd try of a query, make sure to set the `useGETForPersistedQueryRetry` option to `true`. Most users will want to leave this option as `false`.

> NOTE: APQs are not supported over Websockets at this time. If you're interested in this feature, please open a PR!