Skip to content
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

Expose firestore settings #49

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Expose firestore settings #49

merged 1 commit into from
Mar 15, 2024

Conversation

darinf
Copy link

@darinf darinf commented Mar 15, 2024

Switches to wrapping the C++ Firestore object with a Swift class so that the Firestore object takes on reference semantics. This allows for code like Firestore.firestore().settings = ...

Renames Settings to FirestoreSettings, also providing a wrapper. This time using value semantics. But the wrapper helps hide the C++ methods that are named differently than the Obj C API we are trying to emmulate.

Expose isPersistenceEnabled setting.

Switches to wrapping the C++ Firestore object with a Swift class so that
the Firestore object takes on reference semantics. This allows for code
like `Firestore.firestore().settings = ...`
@darinf darinf marked this pull request as ready for review March 15, 2024 21:23
@darinf darinf merged commit 9d2f39a into main Mar 15, 2024
2 checks passed
@darinf darinf deleted the darin/expose-firestore-settings branch March 15, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants