Skip to content

Commit

Permalink
add missing foundation imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardohg committed Feb 6, 2023
1 parent 4bd1384 commit 8fc7d55
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Sources/Apollo/GraphQLDependencyTracker.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#if !COCOAPODS
import ApolloAPI
import Foundation
#endif

import Foundation

final class GraphQLDependencyTracker: GraphQLResultAccumulator {

private var dependentKeys: Set<CacheKey> = Set()
Expand Down
2 changes: 2 additions & 0 deletions Sources/Apollo/GraphQLResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import ApolloAPI
#endif

import Foundation

/// Represents a GraphQL response received from a server.
public final class GraphQLResponse<Data: RootSelectionSet> {

Expand Down
3 changes: 2 additions & 1 deletion Sources/Apollo/GraphQLResult.swift
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion Sources/Apollo/GraphQLResultAccumulator.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#if !COCOAPODS
import ApolloAPI
import Foundation
#endif

import Foundation

protocol GraphQLResultAccumulator: AnyObject {
associatedtype PartialResult
associatedtype FieldEntry
Expand Down

0 comments on commit 8fc7d55

Please sign in to comment.