From 2d9d3a868c996d38b4a8bf6d3ce55ee76af43d75 Mon Sep 17 00:00:00 2001 From: zxu Date: Thu, 15 Mar 2018 11:31:16 -0400 Subject: adding converters between DocumentKey (#900) * naively remove FSTPath import and source/test files. * port FieldPath, part I * port FieldPath, part II * port ResourcePath, part I * port ResourcePath, part II * the grand commit to fix build errors * use testutil:: helper instead of those from FSTHelpers * fix test and lint * use c_str in errmsg directly * fix * fix * make code clean * fix integration test I missed * fix to avoid naming collision in preprocessor * address changes * address changes * address changes * fix: fieldMask are actually shared with different context. * address changes * add converter function between two DocumentKey implementations * add unit test * address changes * fix lint --- Firestore/Source/Model/FSTDocumentKey.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Firestore/Source/Model') diff --git a/Firestore/Source/Model/FSTDocumentKey.mm b/Firestore/Source/Model/FSTDocumentKey.mm index 269748f..7425812 100644 --- a/Firestore/Source/Model/FSTDocumentKey.mm +++ b/Firestore/Source/Model/FSTDocumentKey.mm @@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN return path.size() % 2 == 0; } -- (const firebase::firestore::model::ResourcePath &)path { +- (const ResourcePath &)path { return _path; } -- cgit v1.2.3