You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using Database Notifications with websockets, by default all public properties of the User are exposed to the Client:
This can be resolved by adding Laravel's
broadcastWith()
method to theFilament\Notifications\Events\DatabaseNotificationsSent
event as follows:After doing this, we see the following in the client:
The suggestion is to introduce a way to use the broadcastWith() method when sending Database Notifications.
Maybe something like:
Beta Was this translation helpful? Give feedback.
All reactions