feathersjs-ecosystem / feathers-vuex

Integration of FeathersJS, Vue, and Nuxt for the artisan developer

Home Page:https://vuex.feathersjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patch returns undefined

SaadiSidali opened this issue · comments

I was trying to make a service that tells the user how many elements got patched
the find method on the service returns an object but patch does not
image

image

The ui updates automatically and all that good stuff, even hooks work properly
image

but it would be nice if patch or other methods could return an object

All methods should return an object. The only time it won't return the data should only be when the data being returned does not have an attribute that matches the "idField" configuration on the service.