marshallswain / feathers-pinia

Connect your Feathers API to the elegant data store for Vue
52 stars 22 forks source link

useFind | created, patched, removed event | no synced to store #156

Open palmtown opened 7 months ago

palmtown commented 7 months ago

Hello Community,

In version 4.1.1, the useFind hybrid method does not update the local store for created, patched and removed events. I was able to get it to work by listening for these events and committing the data to the store manually, however, this does not work automatically.

Is this how the useFind is supposed to work?

marshallswain commented 5 months ago

Store events are handled at a global level, so they shouldn't need to be handled in useFind directly. I'll leave this open until I have another web socket-based Feathers app to try it out.