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). |
hiranya911
left a comment
There was a problem hiding this comment.
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
MulticastMessageis 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. |
hiranya911
left a comment
There was a problem hiding this comment.
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. |
hiranya911
left a comment
There was a problem hiding this comment.
Thanks. LGTM 👍
I'll try to publish a release in a couple of days.
Add support for multicast/send-all messaging.