Skip to content

Commit 58f3dd6

Browse files
committed
[Feat] Change FirestoreEndpointable method type to optional
1 parent 0b781b7 commit 58f3dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SHFirestoreService/FirestoreEndopintable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public protocol FirestoreEndopintable {
2121

2222
/// Firestore's service accesses and works on a collection, a docuemnt or docuemnts based on the FirestoreMethod.
2323
/// So, you need to assign the desired request from FirestoreService to what is required by FirestoreMethod.
24-
var method: FirestoreMethod { get }
24+
var method: FirestoreMethod? { get }
2525

2626
/// In order to access a specific collection or document in firestore, you must comply with Firestore DataLocationable.
2727
/// If you want to access the collection, docuemntRef must return nil.

0 commit comments

Comments
 (0)