Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

Listening to realtime events on varchar[] column always returns ['archa'] and not the actual array content #21

Closed
dshukertjr opened this issue Aug 21, 2021 · 0 comments · Fixed by #22
Labels
bug Something isn't working

Comments

@dshukertjr
Copy link
Member

Bug report

Describe the bug

Listening to realtime events on a column with varchar[] type always returns ['archa'] no matter what you enter as the value within the payload. It also seems like other array types are not returning the correct values either.

Mentioned supabase/supabase-dart#44

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create a table with column of varchar[] type
  2. Start listening to realtime events of the table
  3. Make modification to the table so that realtime event fires
  4. Receive ['archa'] as the value for varchar[] type column

Expected behavior

Should receive the actual array content as payload

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant