diff options
author | zxu <zxu@google.com> | 2018-03-15 11:31:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 11:31:16 -0400 |
commit | 2d9d3a868c996d38b4a8bf6d3ce55ee76af43d75 (patch) | |
tree | 864c27069d50bf6f57948e81044e36bee9c30509 /Firestore/Source/Model | |
parent | 35de3c54d543d7be16fdcae9205ffe247f2917a7 (diff) |
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
Diffstat (limited to 'Firestore/Source/Model')
-rw-r--r-- | Firestore/Source/Model/FSTDocumentKey.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |