marshallswain / feathers-pinia

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

Module does not provide an export named 'useClones' #127

Closed vicentecastroa closed 11 months ago

vicentecastroa commented 1 year ago

Package version: 3.0.2

I'm following the guide for useClones and I'm failing into an error that says "...modules does not provide an export named 'useClones'" I looked into the source code and I couldn't find the definition for useClones. Am I doing something wrong? image

itoonx commented 1 year ago

I got this error after i have upgrade to version 3.0.2

krislintigo commented 1 year ago

I read somewhere in docs that useClones was removed from API (with comment "just use model.clone()")

marshallswain commented 11 months ago

@1sses is correct. The functionality previously available in useClones in versions 1 and 2 was integrated into the service methods, so you can just call .clone.