diff --git a/apollo-ios-codegen/Sources/CodegenCLI/Constants.swift b/apollo-ios-codegen/Sources/CodegenCLI/Constants.swift index 75ce4986a..5ca20c9df 100644 --- a/apollo-ios-codegen/Sources/CodegenCLI/Constants.swift +++ b/apollo-ios-codegen/Sources/CodegenCLI/Constants.swift @@ -1,6 +1,6 @@ import Foundation public enum Constants { - public static let CLIVersion: String = "1.9.2" + public static let CLIVersion: String = "1.9.3" static let defaultFilePath: String = "./apollo-codegen-config.json" } diff --git a/apollo-ios/CHANGELOG.md b/apollo-ios/CHANGELOG.md index 605ea83d9..ef5f929d2 100644 --- a/apollo-ios/CHANGELOG.md +++ b/apollo-ios/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## v1.9.3 + +### Fixed + +- **Fix injecting of context for UploadRequest:** Any request context passed into an upload request was not being added to the HTTP request and would not be available to the interceptor chain. See PR ([#302](https://github.com/apollographql/apollo-ios-dev/pull/302)). _Thanks to [@RobertDresler](https://github.com/RobertDresler) for the contribution._ +- **Added support for SPM Package.resolved format version 3 ([#3355](https://github.com/apollographql/apollo-ios/issues/3355)):** When using Xcode 15.3 the codegen CLI would fail the `generate` command with an error stating the Package.resolve file version is unsupported. Version 3 is now accepted as a valid file format for the codegen version checker. See PR ([#304](https://github.com/apollographql/apollo-ios-dev/pull/304)). +- **PrivacyInfo.xcprivacy file is invalid for Apollo and ApolloApi ([#3359](https://github.com/apollographql/apollo-ios/issues/3359)):** We received reports that when submitting to the App Store the submission would fail with an error stating that the privacy manifests were invalid. We identified the error and updated the privacy files. See PR ([#309](https://github.com/apollographql/apollo-ios-dev/pull/309)). _Thanks to [@azilbershtein](https://github.com/azilbershtein) for raising the issue._ + +### Improvement + +- **Provide a direct means to observe changes in ApolloStore:** `ApolloStore` now exposes it's subscriber mechanism publicly. This means you can now observe and receive notifications about changes to the store. See PR ([#300](https://github.com/apollographql/apollo-ios-dev/pull/300)). _Thanks to [@jamesonwilliams](https://github.com/jamesonwilliams) for the contribution._ +- **Remove redundant iteration in EntitySelectionTree merging algorithm:** The conditions for merging selections were revisited and we identified, and removed, a redundant iteration. This is a significant performance improvement as it removes an entire additional iteration through all the conditional scopes in the tree. See PR ([#308](https://github.com/apollographql/apollo-ios-dev/pull/308)). + ## v1.9.2 ### Fixed diff --git a/apollo-ios/CLI/apollo-ios-cli.tar.gz b/apollo-ios/CLI/apollo-ios-cli.tar.gz index 440bd3e34..f42aa8ddb 100644 Binary files a/apollo-ios/CLI/apollo-ios-cli.tar.gz and b/apollo-ios/CLI/apollo-ios-cli.tar.gz differ diff --git a/apollo-ios/Sources/Apollo/Constants.swift b/apollo-ios/Sources/Apollo/Constants.swift index 12aa40883..c46655cb9 100644 --- a/apollo-ios/Sources/Apollo/Constants.swift +++ b/apollo-ios/Sources/Apollo/Constants.swift @@ -1,5 +1,5 @@ import Foundation public enum Constants { - public static let ApolloVersion: String = "1.9.2" + public static let ApolloVersion: String = "1.9.3" } diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo.json index 406d7a982..c856857e5 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo.json @@ -90,6 +90,7 @@ "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloErrorInterceptor", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloInterceptor", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", "doc:\/\/Apollo\/documentation\/Apollo\/InterceptorProvider", "doc:\/\/Apollo\/documentation\/Apollo\/NetworkTransport", @@ -425,6 +426,64 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apollostore" }, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +}, "doc://Apollo/documentation/Apollo/Atomic": { "abstract" : [ { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/apolloclientprotocol-implementations.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/apolloclientprotocol-implementations.json index 2bdb62742..ad25441f7 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/apolloclientprotocol-implementations.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/apolloclientprotocol-implementations.json @@ -35,7 +35,9 @@ "generated" : true, "identifiers" : [ "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/clearCache(callbackQueue:completion:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/fetch(query:cachePolicy:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/fetch(query:cachePolicy:contextIdentifier:context:queue:resultHandler:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/perform(mutation:publishResultToStore:contextIdentifier:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/subscribe(subscription:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/upload(operation:files:context:queue:resultHandler:)", @@ -200,6 +202,152 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apolloclient\/clearcache(callbackqueue:completion:)" }, +"doc://Apollo/documentation/Apollo/ApolloClient/fetch(query:cachePolicy:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/fetch(query:cachePolicy:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:context:queue:resulthandler:)" +}, "doc://Apollo/documentation/Apollo/ApolloClient/fetch(query:cachePolicy:contextIdentifier:context:queue:resultHandler:)": { "abstract" : [ @@ -360,6 +508,152 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:contextidentifier:context:queue:resulthandler:)" }, +"doc://Apollo/documentation/Apollo/ApolloClient/perform(mutation:publishResultToStore:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" +}, "doc://Apollo/documentation/Apollo/ApolloClient/perform(mutation:publishResultToStore:contextIdentifier:context:queue:resultHandler:)": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:).json new file mode 100644 index 000000000..bf20a7dbe --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:).json @@ -0,0 +1,826 @@ +{ + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/ApolloClientProtocol-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/fetch(query:cachePolicy:context:queue:resultHandler:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Apollo", + "externalID" : "s:6Apollo0A14ClientProtocolPAAE5fetch5query11cachePolicy7context5queue13resultHandlerAA11Cancellable_pqd___AA05CacheG0OAA14RequestContext_pSgSo012OS_dispatch_I0Cys6ResultOyAA13GraphQLResultVy4DataQyd__Gs5Error_pGcSgt0A3API0S7QLQueryRd__lF::SYNTHESIZED::s:6Apollo0A6ClientC", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CachePolicy", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "where" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : " : " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI12GraphQLQueryP", + "text" : "GraphQLQuery" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The query to fetch.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "query" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A cache policy that specifies when results should be fetched from the server and when data should be loaded from the local cache.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "cachePolicy" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A dispatch queue on which the result handler will be called. Should default to the main queue.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "queue" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A context that is being passed through the request chain. Should default to ", + "type" : "text" + }, + { + "code" : "nil", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "context" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A closure that is called when query results are available or when an error occurs.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "resultHandler" + } + ] + }, + { + "content" : [ + { + "anchor" : "return-value", + "level" : 2, + "text" : "Return Value", + "type" : "heading" + }, + { + "inlineContent" : [ + { + "text" : "An object that can be used to cancel an in progress fetch.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "kind" : "content" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:context:queue:resulthandler:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloClient": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloClient", + "type" : "codeVoice" + }, + { + "text" : " class implements the core API for Apollo by conforming to ", + "type" : "text" + }, + { + "code" : "ApolloClientProtocol", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloClient" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloClient" + } + ], + "role" : "symbol", + "title" : "ApolloClient", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient" +}, +"doc://Apollo/documentation/Apollo/ApolloClient/ApolloClientProtocol-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/ApolloClientProtocol-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "ApolloClientProtocol Implementations", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/apolloclientprotocol-implementations" +}, +"doc://Apollo/documentation/Apollo/ApolloClient/fetch(query:cachePolicy:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/fetch(query:cachePolicy:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:context:queue:resulthandler:)" +}, +"doc://Apollo/documentation/Apollo/CachePolicy": { + "abstract" : [ + { + "text" : "A cache policy that specifies whether results should be fetched from the server or loaded from the local cache.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "enum" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "CachePolicy" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CachePolicy", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "CachePolicy" + } + ], + "role" : "symbol", + "title" : "CachePolicy", + "type" : "topic", + "url" : "\/documentation\/apollo\/cachepolicy" +}, +"doc://Apollo/documentation/Apollo/Cancellable": { + "abstract" : [ + { + "text" : "An object that can be used to cancel an in progress action.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "role" : "symbol", + "title" : "Cancellable", + "type" : "topic", + "url" : "\/documentation\/apollo\/cancellable" +}, +"doc://Apollo/documentation/Apollo/GraphQLResultHandler": { + "abstract" : [ + { + "text" : "A handler for operation results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "role" : "symbol", + "title" : "GraphQLResultHandler", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlresulthandler" +}, +"doc://Apollo/documentation/Apollo/RequestContext": { + "abstract" : [ + { + "text" : "A marker protocol to set up an object to pass through the request chain.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "role" : "symbol", + "title" : "RequestContext", + "type" : "topic", + "url" : "\/documentation\/apollo\/requestcontext" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:).json new file mode 100644 index 000000000..2c9dec01e --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:).json @@ -0,0 +1,807 @@ +{ + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/ApolloClientProtocol-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/perform(mutation:publishResultToStore:context:queue:resultHandler:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Apollo", + "externalID" : "s:6Apollo0A14ClientProtocolPAAE7perform8mutation20publishResultToStore7context5queue13resultHandlerAA11Cancellable_pqd___SbAA14RequestContext_pSgSo012OS_dispatch_K0Cys0G0OyAA13GraphQLResultVy4DataQyd__Gs5Error_pGcSgt0A3API0S10QLMutationRd__lF::SYNTHESIZED::s:6Apollo0A6ClientC", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "where" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : " : " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI15GraphQLMutationP", + "text" : "GraphQLMutation" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The mutation to perform.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "mutation" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "If ", + "type" : "text" + }, + { + "code" : "true", + "type" : "codeVoice" + }, + { + "text" : ", this will publish the result returned from the operation to the cache store. Default is ", + "type" : "text" + }, + { + "code" : "true", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "publishResultToStore" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A context that is being passed through the request chain. Should default to ", + "type" : "text" + }, + { + "code" : "nil", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "context" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A dispatch queue on which the result handler will be called. Should default to the main queue.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "queue" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "An optional closure that is called when mutation results are available or when an error occurs.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "resultHandler" + } + ] + }, + { + "content" : [ + { + "anchor" : "return-value", + "level" : 2, + "text" : "Return Value", + "type" : "heading" + }, + { + "inlineContent" : [ + { + "text" : "An object that can be used to cancel an in progress mutation.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "kind" : "content" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apolloclient\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloClient": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloClient", + "type" : "codeVoice" + }, + { + "text" : " class implements the core API for Apollo by conforming to ", + "type" : "text" + }, + { + "code" : "ApolloClientProtocol", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloClient" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloClient" + } + ], + "role" : "symbol", + "title" : "ApolloClient", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient" +}, +"doc://Apollo/documentation/Apollo/ApolloClient/ApolloClientProtocol-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/ApolloClientProtocol-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "ApolloClientProtocol Implementations", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/apolloclientprotocol-implementations" +}, +"doc://Apollo/documentation/Apollo/ApolloClient/perform(mutation:publishResultToStore:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClient\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclient\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" +}, +"doc://Apollo/documentation/Apollo/Cancellable": { + "abstract" : [ + { + "text" : "An object that can be used to cancel an in progress action.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "role" : "symbol", + "title" : "Cancellable", + "type" : "topic", + "url" : "\/documentation\/apollo\/cancellable" +}, +"doc://Apollo/documentation/Apollo/GraphQLResultHandler": { + "abstract" : [ + { + "text" : "A handler for operation results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "role" : "symbol", + "title" : "GraphQLResultHandler", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlresulthandler" +}, +"doc://Apollo/documentation/Apollo/RequestContext": { + "abstract" : [ + { + "text" : "A marker protocol to set up an object to pass through the request chain.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "role" : "symbol", + "title" : "RequestContext", + "type" : "topic", + "url" : "\/documentation\/apollo\/requestcontext" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol.json index f13360726..aa6fc438a 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol.json @@ -118,7 +118,9 @@ { "identifiers" : [ "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/clearCache(callbackQueue:completion:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/fetch(query:cachePolicy:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/fetch(query:cachePolicy:contextIdentifier:context:queue:resultHandler:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/perform(mutation:publishResultToStore:contextIdentifier:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/subscribe(subscription:context:queue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/upload(operation:files:context:queue:resultHandler:)", @@ -349,6 +351,152 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apolloclientprotocol\/clearcache(callbackqueue:completion:)" }, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol/fetch(query:cachePolicy:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/fetch(query:cachePolicy:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:context:queue:resulthandler:)" +}, "doc://Apollo/documentation/Apollo/ApolloClientProtocol/fetch(query:cachePolicy:contextIdentifier:context:queue:resultHandler:)": { "abstract" : [ { @@ -513,6 +661,152 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:contextidentifier:context:queue:resulthandler:)" }, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol/perform(mutation:publishResultToStore:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" +}, "doc://Apollo/documentation/Apollo/ApolloClientProtocol/perform(mutation:publishResultToStore:contextIdentifier:context:queue:resultHandler:)": { "abstract" : [ { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:).json new file mode 100644 index 000000000..f043a26fe --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:).json @@ -0,0 +1,806 @@ +{ + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/fetch(query:cachePolicy:context:queue:resultHandler:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Apollo", + "externalID" : "s:6Apollo0A14ClientProtocolPAAE5fetch5query11cachePolicy7context5queue13resultHandlerAA11Cancellable_pqd___AA05CacheG0OAA14RequestContext_pSgSo012OS_dispatch_I0Cys6ResultOyAA13GraphQLResultVy4DataQyd__Gs5Error_pGcSgt0A3API0S7QLQueryRd__lF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CachePolicy", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "where" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : " : " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI12GraphQLQueryP", + "text" : "GraphQLQuery" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The query to fetch.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "query" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A cache policy that specifies when results should be fetched from the server and when data should be loaded from the local cache.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "cachePolicy" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A dispatch queue on which the result handler will be called. Should default to the main queue.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "queue" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A context that is being passed through the request chain. Should default to ", + "type" : "text" + }, + { + "code" : "nil", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "context" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A closure that is called when query results are available or when an error occurs.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "resultHandler" + } + ] + }, + { + "content" : [ + { + "anchor" : "return-value", + "level" : 2, + "text" : "Return Value", + "type" : "heading" + }, + { + "inlineContent" : [ + { + "text" : "An object that can be used to cancel an in progress fetch.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "kind" : "content" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:context:queue:resulthandler:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloClientProtocol", + "type" : "codeVoice" + }, + { + "text" : " provides the core API for Apollo. This API provides methods to fetch and watch queries, and to perform mutations.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloClientProtocol" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloClientProtocol" + } + ], + "role" : "symbol", + "title" : "ApolloClientProtocol", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol" +}, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol/fetch(query:cachePolicy:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Fetches a query from the server or from the local cache, depending on the current contents of the cache and the specified cache policy.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "fetch" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "query" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "cachePolicy" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CachePolicyO", + "text" : "CachePolicy" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Query" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/fetch(query:cachePolicy:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "fetch(query:cachePolicy:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:context:queue:resulthandler:)" +}, +"doc://Apollo/documentation/Apollo/CachePolicy": { + "abstract" : [ + { + "text" : "A cache policy that specifies whether results should be fetched from the server or loaded from the local cache.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "enum" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "CachePolicy" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CachePolicy", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "CachePolicy" + } + ], + "role" : "symbol", + "title" : "CachePolicy", + "type" : "topic", + "url" : "\/documentation\/apollo\/cachepolicy" +}, +"doc://Apollo/documentation/Apollo/Cancellable": { + "abstract" : [ + { + "text" : "An object that can be used to cancel an in progress action.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "role" : "symbol", + "title" : "Cancellable", + "type" : "topic", + "url" : "\/documentation\/apollo\/cancellable" +}, +"doc://Apollo/documentation/Apollo/GraphQLResultHandler": { + "abstract" : [ + { + "text" : "A handler for operation results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "role" : "symbol", + "title" : "GraphQLResultHandler", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlresulthandler" +}, +"doc://Apollo/documentation/Apollo/RequestContext": { + "abstract" : [ + { + "text" : "A marker protocol to set up an object to pass through the request chain.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "role" : "symbol", + "title" : "RequestContext", + "type" : "topic", + "url" : "\/documentation\/apollo\/requestcontext" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:).json new file mode 100644 index 000000000..1e2df8395 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:).json @@ -0,0 +1,787 @@ +{ + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/perform(mutation:publishResultToStore:context:queue:resultHandler:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Apollo", + "externalID" : "s:6Apollo0A14ClientProtocolPAAE7perform8mutation20publishResultToStore7context5queue13resultHandlerAA11Cancellable_pqd___SbAA14RequestContext_pSgSo012OS_dispatch_K0Cys0G0OyAA13GraphQLResultVy4DataQyd__Gs5Error_pGcSgt0A3API0S10QLMutationRd__lF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "where" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : " : " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI15GraphQLMutationP", + "text" : "GraphQLMutation" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The mutation to perform.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "mutation" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "If ", + "type" : "text" + }, + { + "code" : "true", + "type" : "codeVoice" + }, + { + "text" : ", this will publish the result returned from the operation to the cache store. Default is ", + "type" : "text" + }, + { + "code" : "true", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "publishResultToStore" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A context that is being passed through the request chain. Should default to ", + "type" : "text" + }, + { + "code" : "nil", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "context" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A dispatch queue on which the result handler will be called. Should default to the main queue.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "queue" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "An optional closure that is called when mutation results are available or when an error occurs.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "resultHandler" + } + ] + }, + { + "content" : [ + { + "anchor" : "return-value", + "level" : 2, + "text" : "Return Value", + "type" : "heading" + }, + { + "inlineContent" : [ + { + "text" : "An object that can be used to cancel an in progress mutation.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "kind" : "content" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apolloclientprotocol\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloClientProtocol", + "type" : "codeVoice" + }, + { + "text" : " provides the core API for Apollo. This API provides methods to fetch and watch queries, and to perform mutations.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloClientProtocol" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloClientProtocol" + } + ], + "role" : "symbol", + "title" : "ApolloClientProtocol", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol" +}, +"doc://Apollo/documentation/Apollo/ApolloClientProtocol/perform(mutation:publishResultToStore:context:queue:resultHandler:)": { + "abstract" : [ + { + "text" : "Performs a mutation by sending it to the server.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "perform" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "mutation" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "publishResultToStore" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "context" + }, + { + "kind" : "text", + "text" : ": (any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo14RequestContextP", + "text" : "RequestContext" + }, + { + "kind" : "text", + "text" : ")?, " + }, + { + "kind" : "externalParam", + "text" : "queue" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)OS_dispatch_queue", + "text" : "DispatchQueue" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "resultHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo20GraphQLResultHandlera", + "text" : "GraphQLResultHandler" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Mutation" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:9ApolloAPI16GraphQLOperationP4DataQa", + "text" : "Data" + }, + { + "kind" : "text", + "text" : ">?) -> any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo11CancellableP", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloClientProtocol\/perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "perform(mutation:publishResultToStore:context:queue:resultHandler:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apolloclientprotocol\/perform(mutation:publishresulttostore:context:queue:resulthandler:)" +}, +"doc://Apollo/documentation/Apollo/Cancellable": { + "abstract" : [ + { + "text" : "An object that can be used to cancel an in progress action.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Cancellable" + } + ], + "role" : "symbol", + "title" : "Cancellable", + "type" : "topic", + "url" : "\/documentation\/apollo\/cancellable" +}, +"doc://Apollo/documentation/Apollo/GraphQLResultHandler": { + "abstract" : [ + { + "text" : "A handler for operation results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLResultHandler", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLResultHandler" + } + ], + "role" : "symbol", + "title" : "GraphQLResultHandler", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlresulthandler" +}, +"doc://Apollo/documentation/Apollo/RequestContext": { + "abstract" : [ + { + "text" : "A marker protocol to set up an object to pass through the request chain.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/RequestContext", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "RequestContext" + } + ], + "role" : "symbol", + "title" : "RequestContext", + "type" : "topic", + "url" : "\/documentation\/apollo\/requestcontext" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore.json index 24beac0c1..9b0ed201a 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore.json @@ -113,6 +113,8 @@ "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/clearCache(callbackQueue:completion:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/load(_:callbackQueue:resultHandler:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/publish(records:identifier:callbackQueue:completion:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/subscribe(_:)", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/unsubscribe(_:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/withinReadTransaction(_:callbackQueue:completion:)", "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/withinReadWriteTransaction(_:callbackQueue:completion:)" ], @@ -664,6 +666,88 @@ "type" : "topic", "url" : "\/documentation\/apollo\/apollostore\/publish(records:identifier:callbackqueue:completion:)" }, +"doc://Apollo/documentation/Apollo/ApolloStore/subscribe(_:)": { + "abstract" : [ + { + "text" : "Subscribes to notifications of ApolloStore content changes", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "subscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/subscribe(_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "subscribe(_:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore\/subscribe(_:)" +}, +"doc://Apollo/documentation/Apollo/ApolloStore/unsubscribe(_:)": { + "abstract" : [ + { + "text" : "Unsubscribes from notifications of ApolloStore content changes", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "unsubscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/unsubscribe(_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "unsubscribe(_:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore\/unsubscribe(_:)" +}, "doc://Apollo/documentation/Apollo/ApolloStore/withinReadTransaction(_:callbackQueue:completion:)": { "abstract" : [ { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/subscribe(_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/subscribe(_:).json new file mode 100644 index 000000000..e30a322a0 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/subscribe(_:).json @@ -0,0 +1,332 @@ +{ + "abstract" : [ + { + "text" : "Subscribes to notifications of ApolloStore content changes", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/subscribe(_:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo0A5StoreC9subscribeyyAA0aB10Subscriber_pF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "subscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "subscribe(_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "subscribe" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "subscriber" + }, + { + "kind" : "text", + "text" : ": any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A subscriber to receive content change notificatons. To avoid a retain cycle,", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "ensure you call ", + "type" : "text" + }, + { + "code" : "unsubscribe", + "type" : "codeVoice" + }, + { + "text" : " on this subscriber before it goes out of scope.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "subscriber" + } + ] + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apollostore\/subscribe(_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloStore": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStore", + "type" : "codeVoice" + }, + { + "text" : " class acts as a local cache for normalized GraphQL results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "role" : "symbol", + "title" : "ApolloStore", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore" +}, +"doc://Apollo/documentation/Apollo/ApolloStore/subscribe(_:)": { + "abstract" : [ + { + "text" : "Subscribes to notifications of ApolloStore content changes", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "subscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/subscribe(_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "subscribe(_:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore\/subscribe(_:)" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/unsubscribe(_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/unsubscribe(_:).json new file mode 100644 index 000000000..9e9f650d9 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostore/unsubscribe(_:).json @@ -0,0 +1,340 @@ +{ + "abstract" : [ + { + "text" : "Unsubscribes from notifications of ApolloStore content changes", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/unsubscribe(_:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo0A5StoreC11unsubscribeyyAA0aB10Subscriber_pF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "unsubscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "unsubscribe(_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "unsubscribe" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "subscriber" + }, + { + "kind" : "text", + "text" : ": any " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "A subscribe that has previously been added via ", + "type" : "text" + }, + { + "code" : "subscribe", + "type" : "codeVoice" + }, + { + "text" : ". To avoid retain cycles,", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "call ", + "type" : "text" + }, + { + "code" : "unsubscribe", + "type" : "codeVoice" + }, + { + "text" : " on all active subscribers before they go out of scope.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "subscriber" + } + ] + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apollostore\/unsubscribe(_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloStore": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStore", + "type" : "codeVoice" + }, + { + "text" : " class acts as a local cache for normalized GraphQL results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "role" : "symbol", + "title" : "ApolloStore", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore" +}, +"doc://Apollo/documentation/Apollo/ApolloStore/unsubscribe(_:)": { + "abstract" : [ + { + "text" : "Unsubscribes from notifications of ApolloStore content changes", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "unsubscribe" + }, + { + "kind" : "text", + "text" : "(any " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A15StoreSubscriberP", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore\/unsubscribe(_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "unsubscribe(_:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore\/unsubscribe(_:)" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber.json new file mode 100644 index 000000000..53affc043 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber.json @@ -0,0 +1,349 @@ +{ + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo0A15StoreSubscriberP", + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "roleHeading" : "Protocol", + "symbolKind" : "protocol", + "title" : "ApolloStoreSubscriber" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + }, + { + "kind" : "text", + "text" : " : AnyObject" + } + ] + } + ], + "kind" : "declarations" + } + ], + "relationshipsSections" : [ + { + "identifiers" : [ + "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher" + ], + "kind" : "relationships", + "title" : "Conforming Types", + "type" : "conformingTypes" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "topicSections" : [ + { + "identifiers" : [ + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber\/store(_:didChangeKeys:contextIdentifier:)" + ], + "title" : "Instance Methods" + } + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apollostoresubscriber" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber/store(_:didChangeKeys:contextIdentifier:)": { + "abstract" : [ + { + "text" : "A callback that can be received by subscribers when keys are changed within the database", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber\/store(_:didChangeKeys:contextIdentifier:)", + "kind" : "symbol", + "required" : true, + "role" : "symbol", + "title" : "store(_:didChangeKeys:contextIdentifier:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber\/store(_:didchangekeys:contextidentifier:)" +}, +"doc://Apollo/documentation/Apollo/GraphQLQueryWatcher": { + "abstract" : [ + { + "text" : "A ", + "type" : "text" + }, + { + "code" : "GraphQLQueryWatcher", + "type" : "codeVoice" + }, + { + "text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLQueryWatcher" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLQueryWatcher" + } + ], + "role" : "symbol", + "title" : "GraphQLQueryWatcher", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlquerywatcher" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:).json new file mode 100644 index 000000000..f2b10743e --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:).json @@ -0,0 +1,518 @@ +{ + "abstract" : [ + { + "text" : "A callback that can be received by subscribers when keys are changed within the database", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber\/store(_:didChangeKeys:contextIdentifier:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo0A15StoreSubscriberP5store_13didChangeKeys17contextIdentifieryAA0aB0C_ShySSG10Foundation4UUIDVSgtF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "required" : true, + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "store(_:didChangeKeys:contextIdentifier:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "store" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "changedKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CacheKey", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ] + } + ], + "kind" : "declarations" + }, + { + "kind" : "parameters", + "parameters" : [ + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The store which made the changes", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "store" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "The list of changed keys", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "changedKeys" + }, + { + "content" : [ + { + "inlineContent" : [ + { + "text" : "[optional] A unique identifier for the request that kicked off this change, to assist in de-duping cache hits for watchers.", + "type" : "text" + } + ], + "type" : "paragraph" + } + ], + "name" : "contextIdentifier" + } + ] + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/apollostoresubscriber\/store(_:didchangekeys:contextidentifier:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloStore": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStore", + "type" : "codeVoice" + }, + { + "text" : " class acts as a local cache for normalized GraphQL results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "role" : "symbol", + "title" : "ApolloStore", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +}, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber/store(_:didChangeKeys:contextIdentifier:)": { + "abstract" : [ + { + "text" : "A callback that can be received by subscribers when keys are changed within the database", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber\/store(_:didChangeKeys:contextIdentifier:)", + "kind" : "symbol", + "required" : true, + "role" : "symbol", + "title" : "store(_:didChangeKeys:contextIdentifier:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber\/store(_:didchangekeys:contextidentifier:)" +}, +"doc://Apollo/documentation/Apollo/CacheKey": { + "abstract" : [ + { + "text" : "A cache key for a record.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "CacheKey" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CacheKey", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "CacheKey" + } + ], + "role" : "symbol", + "title" : "CacheKey", + "type" : "topic", + "url" : "\/documentation\/apollo\/cachekey" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher.json index a83325743..92ed584d1 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher.json @@ -166,6 +166,7 @@ "relationshipsSections" : [ { "identifiers" : [ + "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", "doc:\/\/Apollo\/documentation\/Apollo\/Cancellable" ], "kind" : "relationships", @@ -197,7 +198,8 @@ { "identifiers" : [ "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/cancel()", - "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/refetch(cachePolicy:)" + "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/refetch(cachePolicy:)", + "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/store(_:didChangeKeys:contextIdentifier:)" ], "title" : "Instance Methods" } @@ -230,6 +232,64 @@ "type" : "topic", "url" : "\/documentation\/apollo" }, +"doc://Apollo/documentation/Apollo/ApolloStoreSubscriber": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber", + "type" : "codeVoice" + }, + { + "text" : " provides a means to observe changes to items in the ApolloStore.", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "This protocol is available for advanced use cases only. Most users will prefer using ", + "type" : "text" + }, + { + "code" : "ApolloClient.watch(query:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "protocol" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStoreSubscriber", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStoreSubscriber" + } + ], + "role" : "symbol", + "title" : "ApolloStoreSubscriber", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostoresubscriber" +}, "doc://Apollo/documentation/Apollo/Cancellable": { "abstract" : [ { @@ -544,6 +604,87 @@ "title" : "refetch(cachePolicy:)", "type" : "topic", "url" : "\/documentation\/apollo\/graphqlquerywatcher\/refetch(cachepolicy:)" +}, +"doc://Apollo/documentation/Apollo/GraphQLQueryWatcher/store(_:didChangeKeys:contextIdentifier:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/store(_:didChangeKeys:contextIdentifier:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "store(_:didChangeKeys:contextIdentifier:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlquerywatcher\/store(_:didchangekeys:contextidentifier:)" } } } \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:).json new file mode 100644 index 000000000..aa5fb67b1 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:).json @@ -0,0 +1,458 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "ApolloStoreSubscriber.store(_:didChangeKeys:contextIdentifier:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/store(_:didChangeKeys:contextIdentifier:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo19GraphQLQueryWatcherC5store_13didChangeKeys17contextIdentifieryAA0A5StoreC_ShySSG10Foundation4UUIDVSgtF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "store(_:didChangeKeys:contextIdentifier:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "store" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "changedKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CacheKey", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/graphqlquerywatcher\/store(_:didchangekeys:contextidentifier:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/ApolloStore": { + "abstract" : [ + { + "text" : "The ", + "type" : "text" + }, + { + "code" : "ApolloStore", + "type" : "codeVoice" + }, + { + "text" : " class acts as a local cache for normalized GraphQL results.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/ApolloStore", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "ApolloStore" + } + ], + "role" : "symbol", + "title" : "ApolloStore", + "type" : "topic", + "url" : "\/documentation\/apollo\/apollostore" +}, +"doc://Apollo/documentation/Apollo/CacheKey": { + "abstract" : [ + { + "text" : "A cache key for a record.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "CacheKey" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/CacheKey", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "CacheKey" + } + ], + "role" : "symbol", + "title" : "CacheKey", + "type" : "topic", + "url" : "\/documentation\/apollo\/cachekey" +}, +"doc://Apollo/documentation/Apollo/GraphQLQueryWatcher": { + "abstract" : [ + { + "text" : "A ", + "type" : "text" + }, + { + "code" : "GraphQLQueryWatcher", + "type" : "codeVoice" + }, + { + "text" : " is responsible for watching the store, and calling the result handler with a new result whenever any of the data the previous result depends on changes.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLQueryWatcher" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLQueryWatcher" + } + ], + "role" : "symbol", + "title" : "GraphQLQueryWatcher", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlquerywatcher" +}, +"doc://Apollo/documentation/Apollo/GraphQLQueryWatcher/store(_:didChangeKeys:contextIdentifier:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "store" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo0A5StoreC", + "text" : "ApolloStore" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "didChangeKeys" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sh", + "text" : "Set" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo8CacheKeya", + "text" : "CacheKey" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "externalParam", + "text" : "contextIdentifier" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation4UUIDV", + "text" : "UUID" + }, + { + "kind" : "text", + "text" : "?)" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/GraphQLQueryWatcher\/store(_:didChangeKeys:contextIdentifier:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "store(_:didChangeKeys:contextIdentifier:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/graphqlquerywatcher\/store(_:didchangekeys:contextidentifier:)" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient.json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient.json index ae106b167..7413f9da7 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient.json @@ -200,6 +200,7 @@ "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/clear(task:)", "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/clearAllTasks()", "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/invalidate()", + "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/sendRequest(_:rawTaskCompletionHandler:completion:)", "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/sendRequest(_:taskDescription:rawTaskCompletionHandler:completion:)", "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/urlSession(_:dataTask:didBecome:)-17qvj", "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/urlSession(_:dataTask:didBecome:)-1gjp0", @@ -681,6 +682,101 @@ "type" : "topic", "url" : "\/documentation\/apollo\/urlsessionclient\/invalidate()" }, +"doc://Apollo/documentation/Apollo/URLSessionClient/sendRequest(_:rawTaskCompletionHandler:completion:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "sendRequest" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation10URLRequestV", + "text" : "URLRequest" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "rawTaskCompletionHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC13RawCompletiona", + "text" : "RawCompletion" + }, + { + "kind" : "text", + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "completion" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC10Completiona", + "text" : "Completion" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)NSURLSessionTask", + "text" : "URLSessionTask" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/sendRequest(_:rawTaskCompletionHandler:completion:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "sendRequest(_:rawTaskCompletionHandler:completion:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/urlsessionclient\/sendrequest(_:rawtaskcompletionhandler:completion:)" +}, "doc://Apollo/documentation/Apollo/URLSessionClient/sendRequest(_:taskDescription:rawTaskCompletionHandler:completion:)": { "abstract" : [ { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:).json new file mode 100644 index 000000000..cd16f22c1 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:).json @@ -0,0 +1,520 @@ +{ + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/Apollo\/documentation\/Apollo", + "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/sendRequest(_:rawTaskCompletionHandler:completion:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:6Apollo16URLSessionClientC11sendRequest_24rawTaskCompletionHandler10completionSo012NSURLSessionG0C10Foundation10URLRequestV_yAI4DataVSg_So17NSHTTPURLResponseCSgs5Error_pSgtcSgys6ResultOyAM_APtsAR_pGctF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "sendRequest" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation10URLRequestV", + "text" : "URLRequest" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "rawTaskCompletionHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC13RawCompletiona", + "text" : "RawCompletion" + }, + { + "kind" : "text", + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "completion" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC10Completiona", + "text" : "Completion" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)NSURLSessionTask", + "text" : "URLSessionTask" + } + ], + "modules" : [ + { + "name" : "Apollo" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "sendRequest(_:rawTaskCompletionHandler:completion:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "attribute", + "text" : "@discardableResult" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "sendRequest" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "request" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation10URLRequestV", + "text" : "URLRequest" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "rawTaskCompletionHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient", + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/RawCompletion", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC13RawCompletiona", + "text" : "RawCompletion" + }, + { + "kind" : "text", + "text" : "? = nil, " + }, + { + "kind" : "externalParam", + "text" : "completion" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "@escaping" + }, + { + "kind" : "text", + "text" : " " + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient", + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/Completion", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC10Completiona", + "text" : "Completion" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)NSURLSessionTask", + "text" : "URLSessionTask" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollo\/urlsessionclient\/sendrequest(_:rawtaskcompletionhandler:completion:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://Apollo/documentation/Apollo": { + "abstract" : [ + { + "text" : "A Strongly typed, Swift-first, GraphQL client.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo", + "kind" : "symbol", + "role" : "collection", + "title" : "Apollo", + "type" : "topic", + "url" : "\/documentation\/apollo" +}, +"doc://Apollo/documentation/Apollo/URLSessionClient": { + "abstract" : [ + { + "text" : "A class to handle URL Session calls that will support background execution,", + "type" : "text" + }, + { + "text" : " ", + "type" : "text" + }, + { + "text" : "but still (mostly) use callbacks for its primary method of communication.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "URLSessionClient" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "URLSessionClient" + } + ], + "role" : "symbol", + "title" : "URLSessionClient", + "type" : "topic", + "url" : "\/documentation\/apollo\/urlsessionclient" +}, +"doc://Apollo/documentation/Apollo/URLSessionClient/Completion": { + "abstract" : [ + { + "text" : "A completion block returning a result. On ", + "type" : "text" + }, + { + "code" : ".success", + "type" : "codeVoice" + }, + { + "text" : " it will contain a tuple with non-nil ", + "type" : "text" + }, + { + "code" : "Data", + "type" : "codeVoice" + }, + { + "text" : " and its corresponding ", + "type" : "text" + }, + { + "code" : "HTTPURLResponse", + "type" : "codeVoice" + }, + { + "text" : ". On ", + "type" : "text" + }, + { + "code" : ".failure", + "type" : "codeVoice" + }, + { + "text" : " it will contain an error.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "Completion" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/Completion", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Completion" + } + ], + "role" : "symbol", + "title" : "URLSessionClient.Completion", + "type" : "topic", + "url" : "\/documentation\/apollo\/urlsessionclient\/completion" +}, +"doc://Apollo/documentation/Apollo/URLSessionClient/RawCompletion": { + "abstract" : [ + { + "text" : "A completion block to be called when the raw task has completed, with the raw information from the session", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "typealias" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "RawCompletion" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/RawCompletion", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "RawCompletion" + } + ], + "role" : "symbol", + "title" : "URLSessionClient.RawCompletion", + "type" : "topic", + "url" : "\/documentation\/apollo\/urlsessionclient\/rawcompletion" +}, +"doc://Apollo/documentation/Apollo/URLSessionClient/sendRequest(_:rawTaskCompletionHandler:completion:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "sendRequest" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:10Foundation10URLRequestV", + "text" : "URLRequest" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "externalParam", + "text" : "rawTaskCompletionHandler" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC13RawCompletiona", + "text" : "RawCompletion" + }, + { + "kind" : "text", + "text" : "?, " + }, + { + "kind" : "externalParam", + "text" : "completion" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:@M@Apollo@objc(cs)URLSessionClient", + "text" : "URLSessionClient" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:6Apollo16URLSessionClientC10Completiona", + "text" : "Completion" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "c:objc(cs)NSURLSessionTask", + "text" : "URLSessionTask" + } + ], + "identifier" : "doc:\/\/Apollo\/documentation\/Apollo\/URLSessionClient\/sendRequest(_:rawTaskCompletionHandler:completion:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "sendRequest(_:rawTaskCompletionHandler:completion:)", + "type" : "topic", + "url" : "\/documentation\/apollo\/urlsessionclient\/sendrequest(_:rawtaskcompletionhandler:completion:)" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/anyhashableconvertible.json b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/anyhashableconvertible.json index c71c5d847..5cc2b3205 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/anyhashableconvertible.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/anyhashableconvertible.json @@ -801,6 +801,14 @@ "text" : " conforms to ", "type" : "text" }, + { + "code" : "AnyScalarType", + "type" : "codeVoice" + }, + { + "text" : " and ", + "type" : "text" + }, { "code" : "Hashable", "type" : "codeVoice" diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/graphqloperation/operationtype-14lsi.json b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/graphqloperation/operationtype-14lsi.json index 369b2c946..280bb4b32 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/graphqloperation/operationtype-14lsi.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/graphqloperation/operationtype-14lsi.json @@ -3,8 +3,8 @@ { "identifiers" : [ "doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj", - "doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3", - "doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x" + "doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x", + "doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3" ], "title" : "GraphQLOperation Implementations" } diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/jsonencodable.json b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/jsonencodable.json index 18e396a6a..cae4f7b57 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/jsonencodable.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/jsonencodable.json @@ -901,7 +901,7 @@ "type" : "text" }, { - "code" : "JSONEncodable", + "code" : "AnyScalarType", "type" : "codeVoice" }, { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/swift/optional.json b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/swift/optional.json index 49ecfe94f..2e52d4bab 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/swift/optional.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apolloapi/swift/optional.json @@ -225,6 +225,14 @@ "text" : " conforms to ", "type" : "text" }, + { + "code" : "AnyScalarType", + "type" : "codeVoice" + }, + { + "text" : " and ", + "type" : "text" + }, { "code" : "Hashable", "type" : "codeVoice" @@ -446,7 +454,7 @@ "type" : "text" }, { - "code" : "JSONEncodable", + "code" : "AnyScalarType", "type" : "codeVoice" }, { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager.json index 6ffbd047e..13b62da1e 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager.json @@ -93,7 +93,8 @@ "relationshipsSections" : [ { "identifiers" : [ - "doc:\/\/ApolloPagination\/7Combine9PublisherP" + "doc:\/\/ApolloPagination\/7Combine9PublisherP", + "doc:\/\/ApolloPagination\/SQ" ], "kind" : "relationships", "title" : "Conforms To", @@ -118,8 +119,8 @@ "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:initialTransform:pageTransform:)", "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:transform:)", "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:)", - "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq", - "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3" + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e" ], "title" : "Initializers" }, @@ -155,6 +156,7 @@ { "generated" : true, "identifiers" : [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations", "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Publisher-Implementations" ], "title" : "Default Implementations" @@ -179,6 +181,11 @@ "title" : "Combine.Publisher", "type" : "unresolvable" }, +"doc://ApolloPagination/SQ": { + "identifier" : "doc:\/\/ApolloPagination\/SQ", + "title" : "Swift.Equatable", + "type" : "unresolvable" +}, "doc://ApolloPagination/documentation/ApolloPagination": { "abstract" : [ @@ -224,6 +231,17 @@ "type" : "topic", "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" }, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/equatable-implementations" +}, "doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/Failure": { "abstract" : [ @@ -651,11 +669,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:)", @@ -958,11 +972,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:initialTransform:pageTransform:)", @@ -1250,11 +1260,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:transform:)", @@ -1439,11 +1445,7 @@ }, { "kind" : "text", - "text" : "?)?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:)", @@ -1718,11 +1720,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:initialTransform:pageTransform:)", @@ -1982,11 +1980,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:transform:)", @@ -2158,11 +2152,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:)", @@ -2172,7 +2162,7 @@ "type" : "topic", "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:)" }, -"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq": { +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft": { "abstract" : [ { "text" : "Convenience initializer for creating a pager that has a single query and", @@ -2409,21 +2399,17 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], - "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq", + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft", "kind" : "symbol", "role" : "symbol", "title" : "init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)", "type" : "topic", - "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq" + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft" }, -"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3": { +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e": { "abstract" : [ { "text" : "Convenience initializer for creating a pager that has a single query and", @@ -2634,19 +2620,15 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], - "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3", + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e", "kind" : "symbol", "role" : "symbol", "title" : "init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)", "type" : "topic", - "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3" + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e" }, "doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/loadAll(fetchFromInitialPage:)": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/!=(_:_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/!=(_:_:).json new file mode 100644 index 000000000..6bfaaeb81 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/!=(_:_:).json @@ -0,0 +1,320 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "Equatable.!=(_:_:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/!=(_:_:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Swift", + "externalID" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "modules" : [ + { + "name" : "ApolloPagination", + "relatedModules" : [ + "Swift" + ] + } + ], + "role" : "symbol", + "roleHeading" : "Operator", + "symbolKind" : "op", + "title" : "!=(_:_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "internalParam", + "text" : "lhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "internalParam", + "text" : "rhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/asyncgraphqlquerypager\/!=(_:_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "AsyncGraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/!=(_:_:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/!=(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "!=(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/!=(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/equatable-implementations" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/==(_:_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/==(_:_:).json new file mode 100644 index 000000000..c9213bbd0 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/==(_:_:).json @@ -0,0 +1,437 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "Equatable.==(_:_:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/==(_:_:)" + }, + "kind" : "symbol", + "metadata" : { + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "extendedModule" : "ApolloPagination", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerCAASQRzlE2eeoiySbACyxG_AEtFZ", + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "modules" : [ + { + "name" : "ApolloPagination" + } + ], + "role" : "symbol", + "roleHeading" : "Operator", + "symbolKind" : "op", + "title" : "==(_:_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "internalParam", + "text" : "lhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "internalParam", + "text" : "rhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/asyncgraphqlquerypager\/==(_:_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "AsyncGraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/==(_:_:)": { + "abstract" : [ + + ], + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/==(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "==(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/==(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/equatable-implementations" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/cancellables.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/cancellables.json index 9cb7a0725..d35da38e6 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/cancellables.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/cancellables.json @@ -71,6 +71,19 @@ "macOS" ], "tokens" : [ + { + "kind" : "attribute", + "text" : "@" + }, + { + "kind" : "attribute", + "preciseIdentifier" : "s:6Apollo6AtomicC", + "text" : "Atomic" + }, + { + "kind" : "text", + "text" : " " + }, { "kind" : "keyword", "text" : "var" @@ -103,7 +116,15 @@ }, { "kind" : "text", - "text" : ">" + "text" : "> { " + }, + { + "kind" : "keyword", + "text" : "get" + }, + { + "kind" : "text", + "text" : " }" } ] } diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/equatable-implementations.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/equatable-implementations.json new file mode 100644 index 000000000..c5c01a5ab --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/equatable-implementations.json @@ -0,0 +1,277 @@ +{ + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/Equatable-Implementations" + }, + "kind" : "article", + "metadata" : { + "modules" : [ + { + "name" : "ApolloPagination" + } + ], + "role" : "collectionGroup", + "roleHeading" : "API Collection", + "title" : "Equatable Implementations" + }, + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "topicSections" : [ + { + "generated" : true, + "identifiers" : [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/!=(_:_:)", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/==(_:_:)" + ], + "title" : "Operators" + } + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/asyncgraphqlquerypager\/equatable-implementations" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "AsyncGraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "AsyncGraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/!=(_:_:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/!=(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "!=(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/!=(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/==(_:_:)": { + "abstract" : [ + + ], + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC", + "text" : "AsyncGraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/==(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "==(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/==(_:_:)" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:).json index 641af4aca..967f0192f 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:).json @@ -28,7 +28,7 @@ "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolverACyAA0B6OutputVyqd__qd_0_GG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_1_4DataQyd__cqd_1_ARQyd_0_cqd_0_Sgqd_1__AA0B9DirectionOtctYacALRsz0A3API0dE0Rd__AxYRd_0_AA0bP0Rd_1_r1_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolverACyAA0B6OutputVyqd__qd_0_GG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_1_4DataQyd__cqd_1_ARQyd_0_cqd_0_Sgqd_1__AA0B9DirectionOtctcALRsz0A3API0dE0Rd__AxYRd_0_AA0bP0Rd_1_r1_lufc", "fragments" : [ { "kind" : "keyword", @@ -217,11 +217,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "modules" : [ @@ -459,14 +455,6 @@ "kind" : "text", "text" : "?) " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -833,11 +821,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:initialtransform:pagetransform:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:initialtransform:pagetransform:).json index 2f518865a..35d4e9f47 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:initialtransform:pagetransform:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:initialtransform:pagetransform:).json @@ -28,7 +28,7 @@ "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolver0H9Transform0rT0ACyxG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_2_4DataQyd__cqd_2_AQQyd_0_cqd_0_Sgqd_2__AA0B9DirectionOtcxARKcxASKctYacSmRz0A3API0dE0Rd__AwXRd_0_7ElementQzRsd_1_AA0bP0Rd_2_r2_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolver0H9Transform0rT0ACyxG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_2_4DataQyd__cqd_2_AQQyd_0_cqd_0_Sgqd_2__AA0B9DirectionOtcxARKcxASKctcSmRz0A3API0dE0Rd__AwXRd_0_7ElementQzRsd_1_AA0bP0Rd_2_r2_lufc", "fragments" : [ { "kind" : "keyword", @@ -307,11 +307,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -655,14 +651,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -1127,11 +1115,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:initialTransform:pageTransform:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:transform:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:transform:).json index ad97d9d08..c5e32c3db 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:transform:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractinitialpageinfo:extractnextpageinfo:pageresolver:transform:).json @@ -28,7 +28,7 @@ "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolver9transformACyAA0B6OutputVyqd__qd_0_GG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_1_4DataQyd__cqd_1_ASQyd_0_cqd_0_Sgqd_1__AA0B9DirectionOtcAMSayAUG_AtYtKctYacAMRsz0A3API0dE0Rd__AZA_Rd_0_AA0bP0Rd_1_r1_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue22extractInitialPageInfo0m4NextoP012pageResolver9transformACyAA0B6OutputVyqd__qd_0_GG0A00A14ClientProtocol_p_qd__So17OS_dispatch_queueCqd_1_4DataQyd__cqd_1_ASQyd_0_cqd_0_Sgqd_1__AA0B9DirectionOtcAMSayAUG_AtYtKctcAMRsz0A3API0dE0Rd__AZA_Rd_0_AA0bP0Rd_1_r1_lufc", "fragments" : [ { "kind" : "keyword", @@ -292,11 +292,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -617,14 +613,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -1066,11 +1054,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractInitialPageInfo:extractNextPageInfo:pageResolver:transform:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:).json index f66ff5f9b..e3f8cfd10 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:).json @@ -13,7 +13,7 @@ }, "kind" : "symbol", "metadata" : { - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolverACyAA0B6OutputVyqd_0_qd_1_GG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_AKSgGcqd_1_Sgqd___AA0B9DirectionOtcSgtYacAKRszAA0bO0Rd__0A3API0dE0Rd_0_AZA_Rd_1_r1_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolverACyAA0B6OutputVyqd_0_qd_1_GG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_AKSgGcqd_1_Sgqd___AA0B9DirectionOtcSgtcAKRszAA0bO0Rd__0A3API0dE0Rd_0_AZA_Rd_1_r1_lufc", "fragments" : [ { "kind" : "keyword", @@ -185,11 +185,7 @@ }, { "kind" : "text", - "text" : "?)?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)?)" } ], "modules" : [ @@ -395,14 +391,6 @@ "kind" : "text", "text" : "?)?) " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -741,11 +729,7 @@ }, { "kind" : "text", - "text" : "?)?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:initialtransform:pagetransform:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:initialtransform:pagetransform:).json index e2ea13d68..790ab760d 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:initialtransform:pagetransform:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:initialtransform:pagetransform:).json @@ -13,7 +13,7 @@ }, "kind" : "symbol", "metadata" : { - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolver0H9Transform0pR0ACyxG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_xSgGcqd_1_Sgqd___AA0B9DirectionOtcSgx0Y0Qyd_0_KcxAXQyd_1_KctYacSmRzAA0bO0Rd__0A3API0dE0Rd_0_A0_A1_Rd_1_7ElementQzRsd_2_r2_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolver0H9Transform0pR0ACyxG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_xSgGcqd_1_Sgqd___AA0B9DirectionOtcSgx0Y0Qyd_0_KcxAXQyd_1_KctcSmRzAA0bO0Rd__0A3API0dE0Rd_0_A0_A1_Rd_1_7ElementQzRsd_2_r2_lufc", "fragments" : [ { "kind" : "keyword", @@ -275,11 +275,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -591,14 +587,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -1035,11 +1023,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:initialTransform:pageTransform:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:transform:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:transform:).json index c324d5a6e..cd9e6a773 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:transform:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:initialquery:watcherdispatchqueue:extractpageinfo:pageresolver:transform:).json @@ -13,7 +13,7 @@ }, "kind" : "symbol", "metadata" : { - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_xSgGcqd_1_Sgqd___AA0B9DirectionOtcSgxSay0Y0Qyd_1_G_AWQyd_0_AYtKctYacAA0bO0Rd__0A3API0dE0Rd_0_A0_A1_Rd_1_r1_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client12initialQuery20watcherDispatchQueue15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_qd_0_So17OS_dispatch_queueCqd__AA0N14ExtractionDataOyqd_0_qd_1_xSgGcqd_1_Sgqd___AA0B9DirectionOtcSgxSay0Y0Qyd_1_G_AWQyd_0_AYtKctcAA0bO0Rd__0A3API0dE0Rd_0_A0_A1_Rd_1_r1_lufc", "fragments" : [ { "kind" : "keyword", @@ -260,11 +260,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -553,14 +549,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -940,11 +928,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:initialQuery:watcherDispatchQueue:extractPageInfo:pageResolver:transform:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:).json index dee7a472c..b96ffe694 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:).json @@ -28,7 +28,7 @@ "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolverACyAA0B6OutputVyqd__qd__GG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_0_4DataQyd__cqd__Sgqd_0__AA0B9DirectionOtctYacAKRsz0A3API0dE0Rd__AA0bO0Rd_0_r0_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolverACyAA0B6OutputVyqd__qd__GG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_0_4DataQyd__cqd__Sgqd_0__AA0B9DirectionOtctcAKRsz0A3API0dE0Rd__AA0bO0Rd_0_r0_lufc", "fragments" : [ { "kind" : "keyword", @@ -176,11 +176,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "modules" : [ @@ -369,14 +365,6 @@ "kind" : "text", "text" : "?) " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -685,11 +673,7 @@ }, { "kind" : "text", - "text" : "?) " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : "?)" } ], "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:)", diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft.json similarity index 97% rename from docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq.json rename to docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft.json index a9fb05a48..a9c2b34d5 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft.json @@ -23,12 +23,12 @@ }, "identifier" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq" + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft" }, "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_0_4DataQyd__cqd__Sgqd_0__AA0B9DirectionOtcxSayAPG_ApTtKctYac0A3API0dE0Rd__AA0bO0Rd_0_r0_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_0_4DataQyd__cqd__Sgqd_0__AA0B9DirectionOtcxSayAPG_ApTtKctc0A3API0dE0Rd__AA0bO0Rd_0_r0_lufc", "fragments" : [ { "kind" : "keyword", @@ -251,11 +251,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -527,14 +523,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -591,7 +579,7 @@ "variants" : [ { "paths" : [ - "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq" + "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft" ], "traits" : [ { @@ -647,7 +635,7 @@ "type" : "topic", "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" }, -"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq": { +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft": { "abstract" : [ { "text" : "Convenience initializer for creating a pager that has a single query and", @@ -884,19 +872,15 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], - "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-44yeq", + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6zaft", "kind" : "symbol", "role" : "symbol", "title" : "init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)", "type" : "topic", - "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-44yeq" + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6zaft" }, "doc://ApolloPagination/documentation/ApolloPagination/PaginationDirection": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e.json similarity index 96% rename from docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3.json rename to docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e.json index 5ed874733..e73633caa 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/asyncgraphqlquerypager/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e.json @@ -23,12 +23,12 @@ }, "identifier" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3" + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e" }, "kind" : "symbol", "metadata" : { "extendedModule" : "ApolloPagination", - "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_1_4DataQyd__cqd__Sgqd_1__AA0B9DirectionOtcxAPKctYacSmRz0A3API0dE0Rd__7ElementQzRsd_0_AA0bO0Rd_1_r1_lufc", + "externalID" : "s:16ApolloPagination22AsyncGraphQLQueryPagerC6client20watcherDispatchQueue12initialQuery15extractPageInfo12pageResolver9transformACyxG0A00A14ClientProtocol_p_So17OS_dispatch_queueCqd__qd_1_4DataQyd__cqd__Sgqd_1__AA0B9DirectionOtcxAPKctcSmRz0A3API0dE0Rd__7ElementQzRsd_0_AA0bO0Rd_1_r1_lufc", "fragments" : [ { "kind" : "keyword", @@ -225,11 +225,7 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], "modules" : [ @@ -475,14 +471,6 @@ "kind" : "text", "text" : ") " }, - { - "kind" : "keyword", - "text" : "async" - }, - { - "kind" : "text", - "text" : " " - }, { "kind" : "keyword", "text" : "where" @@ -581,7 +569,7 @@ "variants" : [ { "paths" : [ - "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3" + "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e" ], "traits" : [ { @@ -637,7 +625,7 @@ "type" : "topic", "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager" }, -"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3": { +"doc://ApolloPagination/documentation/ApolloPagination/AsyncGraphQLQueryPager/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e": { "abstract" : [ { "text" : "Convenience initializer for creating a pager that has a single query and", @@ -848,19 +836,15 @@ }, { "kind" : "text", - "text" : ") " - }, - { - "kind" : "keyword", - "text" : "async" + "text" : ")" } ], - "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-6kvs3", + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/AsyncGraphQLQueryPager\/init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)-93v7e", "kind" : "symbol", "role" : "symbol", "title" : "init(client:watcherDispatchQueue:initialQuery:extractPageInfo:pageResolver:transform:)", "type" : "topic", - "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-6kvs3" + "url" : "\/documentation\/apollopagination\/asyncgraphqlquerypager\/init(client:watcherdispatchqueue:initialquery:extractpageinfo:pageresolver:transform:)-93v7e" }, "doc://ApolloPagination/documentation/ApolloPagination/PaginationDirection": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager.json index db5878a8f..f81084dde 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager.json @@ -93,7 +93,8 @@ "relationshipsSections" : [ { "identifiers" : [ - "doc:\/\/ApolloPagination\/7Combine9PublisherP" + "doc:\/\/ApolloPagination\/7Combine9PublisherP", + "doc:\/\/ApolloPagination\/SQ" ], "kind" : "relationships", "title" : "Conforms To", @@ -155,6 +156,7 @@ { "generated" : true, "identifiers" : [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations", "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Publisher-Implementations" ], "title" : "Default Implementations" @@ -179,6 +181,11 @@ "title" : "Combine.Publisher", "type" : "unresolvable" }, +"doc://ApolloPagination/SQ": { + "identifier" : "doc:\/\/ApolloPagination\/SQ", + "title" : "Swift.Equatable", + "type" : "unresolvable" +}, "doc://ApolloPagination/documentation/ApolloPagination": { "abstract" : [ @@ -224,6 +231,17 @@ "type" : "topic", "url" : "\/documentation\/apollopagination\/graphqlquerypager" }, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/equatable-implementations" +}, "doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/Failure": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/!=(_:_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/!=(_:_:).json new file mode 100644 index 000000000..a627db548 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/!=(_:_:).json @@ -0,0 +1,320 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "Equatable.!=(_:_:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/!=(_:_:)" + }, + "kind" : "symbol", + "metadata" : { + "extendedModule" : "Swift", + "externalID" : "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:16ApolloPagination17GraphQLQueryPagerC", + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "modules" : [ + { + "name" : "ApolloPagination", + "relatedModules" : [ + "Swift" + ] + } + ], + "role" : "symbol", + "roleHeading" : "Operator", + "symbolKind" : "op", + "title" : "!=(_:_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "internalParam", + "text" : "lhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "internalParam", + "text" : "rhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/graphqlquerypager\/!=(_:_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "GraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/!=(_:_:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/!=(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "!=(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/!=(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/equatable-implementations" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/==(_:_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/==(_:_:).json new file mode 100644 index 000000000..8610991dd --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/==(_:_:).json @@ -0,0 +1,437 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "Equatable.==(_:_:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/==(_:_:)" + }, + "kind" : "symbol", + "metadata" : { + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "extendedModule" : "ApolloPagination", + "externalID" : "s:16ApolloPagination17GraphQLQueryPagerCAASQRzlE2eeoiySbACyxG_AEtFZ", + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "modules" : [ + { + "name" : "ApolloPagination" + } + ], + "role" : "symbol", + "roleHeading" : "Operator", + "symbolKind" : "op", + "title" : "==(_:_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "internalParam", + "text" : "lhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "internalParam", + "text" : "rhs" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/graphqlquerypager\/==(_:_:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "GraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/==(_:_:)": { + "abstract" : [ + + ], + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/==(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "==(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/==(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/Equatable-Implementations": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations", + "kind" : "article", + "role" : "collectionGroup", + "title" : "Equatable Implementations", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/equatable-implementations" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/equatable-implementations.json b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/equatable-implementations.json new file mode 100644 index 000000000..d48fdf89d --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollopagination/graphqlquerypager/equatable-implementations.json @@ -0,0 +1,277 @@ +{ + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/Equatable-Implementations" + }, + "kind" : "article", + "metadata" : { + "modules" : [ + { + "name" : "ApolloPagination" + } + ], + "role" : "collectionGroup", + "roleHeading" : "API Collection", + "title" : "Equatable Implementations" + }, + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "topicSections" : [ + { + "generated" : true, + "identifiers" : [ + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/!=(_:_:)", + "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/==(_:_:)" + ], + "title" : "Operators" + } + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollopagination\/graphqlquerypager\/equatable-implementations" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloPagination/documentation/ApolloPagination": { + "abstract" : [ + + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloPagination", + "type" : "topic", + "url" : "\/documentation\/apollopagination" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager": { + "abstract" : [ + { + "text" : "Type-erases a query pager, transforming data from a generic type to a specific type, often a view model or array of view models.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "GraphQLQueryPager" + } + ], + "role" : "symbol", + "title" : "GraphQLQueryPager", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/!=(_:_:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "!=" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "Self" + }, + { + "kind" : "text", + "text" : ") -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/!=(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "!=(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/!=(_:_:)" +}, +"doc://ApolloPagination/documentation/ApolloPagination/GraphQLQueryPager/==(_:_:)": { + "abstract" : [ + + ], + "conformance" : { + "availabilityPrefix" : [ + { + "text" : "Available when", + "type" : "text" + } + ], + "conformancePrefix" : [ + { + "text" : "Conforms when", + "type" : "text" + } + ], + "constraints" : [ + { + "code" : "Model", + "type" : "codeVoice" + }, + { + "text" : " conforms to ", + "type" : "text" + }, + { + "code" : "Equatable", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ] + }, + "fragments" : [ + { + "kind" : "keyword", + "text" : "static" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "==" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">, " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:16ApolloPagination17GraphQLQueryPagerC", + "text" : "GraphQLQueryPager" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "typeIdentifier", + "text" : "Model" + }, + { + "kind" : "text", + "text" : ">) -> " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloPagination\/documentation\/ApolloPagination\/GraphQLQueryPager\/==(_:_:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "==(_:_:)", + "type" : "topic", + "url" : "\/documentation\/apollopagination\/graphqlquerypager\/==(_:_:)" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclient/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/fetch(query:cachepolicy:context:queue:resulthandler:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apolloclientprotocol/perform(mutation:publishresulttostore:context:queue:resulthandler:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/subscribe(_:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/subscribe(_:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/subscribe(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/unsubscribe(_:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/unsubscribe(_:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostore/unsubscribe(_:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/apollostoresubscriber/store(_:didchangekeys:contextidentifier:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/graphqlquerywatcher/store(_:didchangekeys:contextidentifier:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:)/index.html b/docs/docc/Apollo.doccarchive/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:)/index.html new file mode 100644 index 000000000..f1a038bc7 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/documentation/apollo/urlsessionclient/sendrequest(_:rawtaskcompletionhandler:completion:)/index.html @@ -0,0 +1 @@ +Documentation
\ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/index/index.json b/docs/docc/Apollo.doccarchive/index/index.json index 4828c2321..40b28505f 100644 --- a/docs/docc/Apollo.doccarchive/index/index.json +++ b/docs/docc/Apollo.doccarchive/index/index.json @@ -138,11 +138,21 @@ "title" : "func clearCache(callbackQueue: DispatchQueue, completion: ((Result) -> Void)?)", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:context:queue:resulthandler:)", + "title" : "func fetch(query: Query, cachePolicy: CachePolicy, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/apolloclient\/fetch(query:cachepolicy:contextidentifier:context:queue:resulthandler:)", "title" : "func fetch(query: Query, cachePolicy: CachePolicy, contextIdentifier: UUID?, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/apolloclient\/perform(mutation:publishresulttostore:context:queue:resulthandler:)", + "title" : "func perform(mutation: Mutation, publishResultToStore: Bool, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/apolloclient\/perform(mutation:publishresulttostore:contextidentifier:context:queue:resulthandler:)", "title" : "func perform(mutation: Mutation, publishResultToStore: Bool, contextIdentifier: UUID?, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", @@ -274,6 +284,16 @@ "title" : "func publish(records: RecordSet, identifier: UUID?, callbackQueue: DispatchQueue, completion: ((Result) -> Void)?)", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/apollostore\/subscribe(_:)", + "title" : "func subscribe(any ApolloStoreSubscriber)", + "type" : "method" + }, + { + "path" : "\/documentation\/apollo\/apollostore\/unsubscribe(_:)", + "title" : "func unsubscribe(any ApolloStoreSubscriber)", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/apollostore\/withinreadtransaction(_:callbackqueue:completion:)", "title" : "func withinReadTransaction((ApolloStore.ReadTransaction) throws -> T, callbackQueue: DispatchQueue?, completion: ((Result) -> Void)?)", @@ -497,6 +517,11 @@ "path" : "\/documentation\/apollo\/graphqlquerywatcher\/refetch(cachepolicy:)", "title" : "func refetch(cachePolicy: CachePolicy)", "type" : "method" + }, + { + "path" : "\/documentation\/apollo\/graphqlquerywatcher\/store(_:didchangekeys:contextidentifier:)", + "title" : "func store(ApolloStore, didChangeKeys: Set, contextIdentifier: UUID?)", + "type" : "method" } ], "path" : "\/documentation\/apollo\/graphqlquerywatcher", @@ -1533,6 +1558,11 @@ "title" : "func invalidate()", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/urlsessionclient\/sendrequest(_:rawtaskcompletionhandler:completion:)", + "title" : "func sendRequest(URLRequest, rawTaskCompletionHandler: URLSessionClient.RawCompletion?, completion: URLSessionClient.Completion) -> URLSessionTask", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/urlsessionclient\/sendrequest(_:taskdescription:rawtaskcompletionhandler:completion:)", "title" : "func sendRequest(URLRequest, taskDescription: String?, rawTaskCompletionHandler: URLSessionClient.RawCompletion?, completion: URLSessionClient.Completion) -> URLSessionTask", @@ -1829,11 +1859,21 @@ "title" : "func clearCache(callbackQueue: DispatchQueue, completion: ((Result) -> Void)?)", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:context:queue:resulthandler:)", + "title" : "func fetch(query: Query, cachePolicy: CachePolicy, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/apolloclientprotocol\/fetch(query:cachepolicy:contextidentifier:context:queue:resulthandler:)", "title" : "func fetch(query: Query, cachePolicy: CachePolicy, contextIdentifier: UUID?, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", "type" : "method" }, + { + "path" : "\/documentation\/apollo\/apolloclientprotocol\/perform(mutation:publishresulttostore:context:queue:resulthandler:)", + "title" : "func perform(mutation: Mutation, publishResultToStore: Bool, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", + "type" : "method" + }, { "path" : "\/documentation\/apollo\/apolloclientprotocol\/perform(mutation:publishresulttostore:contextidentifier:context:queue:resulthandler:)", "title" : "func perform(mutation: Mutation, publishResultToStore: Bool, contextIdentifier: UUID?, context: (any RequestContext)?, queue: DispatchQueue, resultHandler: GraphQLResultHandler?) -> any Cancellable", @@ -1900,6 +1940,22 @@ "title" : "ApolloInterceptor", "type" : "protocol" }, + { + "children" : [ + { + "title" : "Instance Methods", + "type" : "groupMarker" + }, + { + "path" : "\/documentation\/apollo\/apollostoresubscriber\/store(_:didchangekeys:contextidentifier:)", + "title" : "func store(ApolloStore, didChangeKeys: Set, contextIdentifier: UUID?)", + "type" : "method" + } + ], + "path" : "\/documentation\/apollo\/apollostoresubscriber", + "title" : "ApolloStoreSubscriber", + "type" : "protocol" + }, { "children" : [ {