postgres_changes
event type does not scope data sent to client
#589
Labels
bug
Something isn't working
postgres_changes
event type does not scope data sent to client
#589
Bug report
Describe the bug
Documentation leads me to believe that setting a listener type ("UPDATE" or "INSERT") on
postgres_changes
would scope the data sent to the client to the event listener type.However, when specifying a listen type it seems that ALL events on the table are sent via websocket to the client.
Note: The callback produces the correctly scoped result.
To Reproduce
Given the following table (with realtime enabled and RLS turned off):
And using the following code:
Produces the following websocket logs:
And the following console logs:
Expected behavior
Websocket logs should not show events of type DELETE or INSERT when subscribed only to UPDATEs
System information
Additional context
Also in reference to supabase-community/realtime-csharp#27
The text was updated successfully, but these errors were encountered: