Plugin: custom fieldtypes don't generate websocket update anymore

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

1.33.4

If you are self-hosting, which installation method do you use to run Baserow?

docker

What are the exact steps to reproduce this issue?

I need some help / consulting from a Baserow FieldType expert. I am upgrading my plugin (GitHub - Vocab-Apps/baserow-vocabai-plugin: VocabAi - plugin for Baserow database) from 1.26.1 to 1.33.4. I had to work through a number of issues to get the upgrade working but one issue still stumps me: when adding a row and entering data into a field that’s an input to one of my custom field types, (for example ChineseRomanizationFieldType), I think the http PATCH and associated database updates work correctly , but the websocket updates don’t. I have to refresh the page on my browser and then I see the computed data. I really suspect that my FieldType definitions are not correct, this implementation is something I did based on the advice of Nigel back in the day. I suspect 1.33.4 has evolved and now I need to update my field types. Anyone have ideas ?

It looks like the websocket updates started working again after I started using:
RowHandler().update_row_by_id
this is what the Baserow AI field uses as well.

Hey @lucw, let us know if you need any assistance with this. :slightly_smiling_face: