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
[NV-438] - Add payload content to notification object #612
Comments
@scopsy This will work for the payload. I just wanted to draw your attention to one issue which m facing. I will share the use case for this. Scenario Is there any way we can update the specific notification payload?? Using some api or hooks?? |
@scopsy can I take this up? |
Sure @meehawk! Assigned you, let me know if you need any help. |
@meehawk Hey! How is it going with adding the payload? Could you maybe give an ETA? |
Hi @meehawk we really want to push this ticket in the upcoming version since it's blocking a lot of our users for some usecases. Assigning @djabarovgeorge for this one 🙏 Really appreciate your help regardless! |
Merged in #725 |
@singhgulshan we have merged this and will deploy soon, regarding the option to update the payload object with API we are planning to add this support in v0.6.0 in the next couple of weeks. Will update you on it. |
@scopsy can we update the same in documentation, so that it is easy for us to integrate payload specific changes? |
Hi @singhgulshan i've added the interface of |
@scopsy After updating |
Hey @singhgulshan I see the problem, shortly I will create a PR to fix it. |
@djabarovgeorge Any ETA for this fix release? |
@scopsy the IMessages export should be available in 0.9.2 later today. 🙏 |
@singhgulshan could you try upgrading the |
@scopsy It working fine now. Exports are available. Thanks. |
Why?
After triggering an event and passing a
payload
object to it, the payload object is never saved on the message entity returned by the notifications API specifically for the notification center usecase.What?
Persist the payload object inside the generated Notification Message for the channel including the original
payload
object sent by the API Users.Where?
The unit responsible for creating the notification message is located inside the
trigger-event.usecase.ts
file inside the @novu/api package.Done definition
payload
object when returned by the API.The text was updated successfully, but these errors were encountered: