-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public Auto Persistent Index Creation API #11757
Conversation
Generated by 🚫 Danger |
Apple API Diff ReportCommit: d7dd4ac FirebaseFirestoreClassesFIRFirestore[ADDED] persistentCacheIndexManagerSwift:
+ var persistentCacheIndexManager : FIRPersistentCacheIndexManager ? { get }
Objective-C:
+ @property ( nonatomic , readonly , nullable ) FIRPersistentCacheIndexManager * persistentCacheIndexManager ; |
Coverage Report 1Affected Products
Test Logs |
d276543
to
96c6f7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor edits.
Firestore/Source/Public/FirebaseFirestore/FIRPersistentCacheIndexManager.h
Outdated
Show resolved
Hide resolved
Firestore/Source/Public/FirebaseFirestore/FIRPersistentCacheIndexManager.h
Outdated
Show resolved
Hide resolved
Firestore/Source/Public/FirebaseFirestore/FIRPersistentCacheIndexManager.h
Outdated
Show resolved
Hide resolved
@wu-hui In Given this problem is not related to csi, my judgement is it should not block this pr to merge. But I will look into it in the meantime to see if I can find a better solution. |
The difference between Objective C and Swift is because Swift test didn't tear down APP for each test like this one:
Currently Swift can only test against public api and the |
NS_SWIFT_NAME(setIndexConfiguration(_:completion:)) DEPRECATED_MSG_ATTRIBUTE( | ||
"Instead of creating cache indexes manually, consider using " | ||
"`PersistentCacheIndexManager.enableIndexAutoCreation()` to let the SDK decide whether to " | ||
"create cache indexes for queries running locally."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunmou99, it'd be a nice-to-have if API diff tool caught deprecations as well. Here, the ObjC and Swift API were both deprecated.
Co-authored-by: Nick Cooke <[email protected]>
No description provided.