Skip to content

Commit

Permalink
Change GrpcClient to private set
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishpatil-g committed Sep 19, 2024
1 parent 0631e9d commit c48033c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/DataConnect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class DataConnect {
private var app: FirebaseApp
private var settings: DataConnectSettings

var grpcClient: GrpcClient
private(set) var grpcClient: GrpcClient
private var operationsManager: OperationsManager

private static var instanceStore = InstanceStore()
Expand Down Expand Up @@ -57,7 +57,7 @@ public class DataConnect {
// self.grpcClient.close
// self.operations.close

guard let projectID = app.options.projectID else {
guard app.options.projectID != nil else {
fatalError("Firebase DataConnect requires the projectID to be set in the app options")
}

Expand Down

0 comments on commit c48033c

Please sign in to comment.