We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199f178 commit 13076b9Copy full SHA for 13076b9
src/useFind.ts
@@ -66,6 +66,10 @@ export default function find<M extends Model = Model>(options: UseFindOptions):
66
options
67
)
68
69
+ if (!model) {
70
+ throw new Error('No model provided for useFind(). Did you define and register it with FeathersVuex?')
71
+ }
72
+
73
const getFetchParams = (providedParams?: Params | Ref<Params>): Params => {
74
const provided = unwrapParams(providedParams)
75
0 commit comments