-
Notifications
You must be signed in to change notification settings - Fork 128
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
feature: multicast messaging #36
Conversation
a855e2b
to
81a4a5e
Compare
81a4a5e
to
ec7d7d4
Compare
FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessagingException.cs
Outdated
Show resolved
Hide resolved
@hiranya911 Ready for review. |
Thank you @kentcb. Love what you've done here. I will take a closer look tomorrow morning. If all goes well I think we can release this next week (this API was already proposed and approved at the same time I worked on the Node and Java implementations). |
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.
Thanks again @kentcb for putting this together. Really appreciate you putting in the effort to provide a PR complete with unit and integration tests. I've pointed out a few things that should be changed. I think most of them are minor nits. The areas that need most work are:
- Validating message list in
FirebaseMessagingClient
- Changing how
MulticastMessage
is unit tested
Please let me know if you have any questions.
FirebaseAdmin/FirebaseAdmin.Tests/Messaging/MulticastMessageTest.cs
Outdated
Show resolved
Hide resolved
FirebaseAdmin/FirebaseAdmin.Tests/Messaging/MulticastMessageTest.cs
Outdated
Show resolved
Hide resolved
FirebaseAdmin/FirebaseAdmin.Tests/Messaging/FirebaseMessagingClientTest.cs
Show resolved
Hide resolved
@hiranya911 Thanks very much for the review. I've pushed fixes based on your comments. |
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.
Thanks again @kentcb. I think we're almost there. Just a few more changes to make. My two big feedback points are on the public API surface:
- What is currently called SendResponse should be called BatchResponse.
- What is currently called SendItemResponse should be called SendResponse.
Sorry, if it wasn't clear from my earlier comments.
FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessagingClient.cs
Outdated
Show resolved
Hide resolved
FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessagingClient.cs
Outdated
Show resolved
Hide resolved
FirebaseAdmin/FirebaseAdmin/Messaging/FirebaseMessagingClient.cs
Outdated
Show resolved
Hide resolved
@hiranya911 Ah, my bad. OK, I've fixed that as well as the other items you pointed out. |
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.
Thanks. LGTM 👍
I'll try to publish a release in a couple of days.
Add support for multicast/send-all messaging.