Skip to content

Commit

Permalink
fix: add Internal#autoId() (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-s committed Jul 13, 2020
1 parent 2ddb8f1 commit b91c57c
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -65,4 +65,9 @@ public DocumentSnapshot snapshotFromProto(Timestamp readTime, Document document)
public Map<String, Value> protoFromSnapshot(DocumentSnapshot snapshot) {
return snapshot.getProtoFields();
}

@InternalApi
public static String autoId() {
return FirestoreImpl.autoId();
}
}

0 comments on commit b91c57c

Please sign in to comment.