diff --git a/Sources/Apollo/GraphQLDependencyTracker.swift b/Sources/Apollo/GraphQLDependencyTracker.swift index 926798f48a..ad464d094b 100644 --- a/Sources/Apollo/GraphQLDependencyTracker.swift +++ b/Sources/Apollo/GraphQLDependencyTracker.swift @@ -1,8 +1,9 @@ #if !COCOAPODS import ApolloAPI -import Foundation #endif +import Foundation + final class GraphQLDependencyTracker: GraphQLResultAccumulator { private var dependentKeys: Set = Set() diff --git a/Sources/Apollo/GraphQLResponse.swift b/Sources/Apollo/GraphQLResponse.swift index 9e80241b3c..c0464cd656 100644 --- a/Sources/Apollo/GraphQLResponse.swift +++ b/Sources/Apollo/GraphQLResponse.swift @@ -2,6 +2,8 @@ import ApolloAPI #endif +import Foundation + /// Represents a GraphQL response received from a server. public final class GraphQLResponse { diff --git a/Sources/Apollo/GraphQLResult.swift b/Sources/Apollo/GraphQLResult.swift index cf6949a972..f7436dc742 100644 --- a/Sources/Apollo/GraphQLResult.swift +++ b/Sources/Apollo/GraphQLResult.swift @@ -1,8 +1,9 @@ -import Foundation #if !COCOAPODS import ApolloAPI #endif +import Foundation + /// Metadata about the a returned result. public struct GraphQLResultMetadata { /// The oldest date that data in the result was updated. diff --git a/Sources/Apollo/GraphQLResultAccumulator.swift b/Sources/Apollo/GraphQLResultAccumulator.swift index a63cfffa52..25cba89840 100644 --- a/Sources/Apollo/GraphQLResultAccumulator.swift +++ b/Sources/Apollo/GraphQLResultAccumulator.swift @@ -1,8 +1,9 @@ #if !COCOAPODS import ApolloAPI -import Foundation #endif +import Foundation + protocol GraphQLResultAccumulator: AnyObject { associatedtype PartialResult associatedtype FieldEntry