Skip to content

Realtime Events not respecting options #27

Open
@Kuffs2205

Description

@Kuffs2205

In my options, I am listening only for Updates.

        TestChannel = client.Realtime.Channel($"MyChannel-{parentID}")
        TestChannel.Register(New PostgresChangesOptions("public",
                                                        "TestData",
                                                        PostgresChangesOptions.ListenType.Updates,
                                                        $"parent=eq.{parentID}"))

        Await TestChannel.Subscribe

However, I am also receiving Inserts and Deletes.

Also, the Delete messages received do not correlate to my filter. Every single client gets every single delete even when the delete is for a different parentID.

Reproduction Steps

Click "Insert Subscribed Row" - The Insert event is fired Incorrect as I'm listening only for updates
Click "Insert Random Row" - No event fired Correct

In Supabase studio.

Edit one of the random rows (X=1,Y=1) No event fired Correct
Edit one of the subscribed rows (X=99,Y=99) Update Event fired Correct
Delete one of the subscribed rows Delete Event Fired Incorrect as I'm not listening for deletes
Delete one of the random rows Delete Event Fired Incorrect as I'm not listening for deletes AND I'm not subscribed to those records

https://github.com/Kuffs2205/TestRealtime.git

I'm up to 10,000,000 messages this month. I queried this as it seemed excessive. Now I see the Delete issue, it makes sense.

I wasn't sure if I should post the url and key publicly so I didn't but I can give it you if you want it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream-issueAwaiting fix from dependent service/repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions