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

Change User to be a class wrapper #57

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

darinf
Copy link

@darinf darinf commented Mar 29, 2024

This way the type has reference semantics, allowing for code like:

if let user = auth.currentUser {
  user.reload { ... }
}

This way the API is more compatible with the equivalent Obj C API.

This way the type has reference semantics, allowing for code like:

```
if let user = auth.currentUser {
  user.reload { ... }
}
```

This way the API is more compatible with the equivalent Obj C API.
@darinf darinf merged commit 3c2100a into main Apr 1, 2024
2 checks passed
@darinf darinf deleted the darin/user-object-wrapper branch April 1, 2024 15:39
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