facing issue on Reference Many realtions. #9021
Unanswered
pksharma-ebiz
asked this question in
Q&A
Replies: 1 comment
-
Hi @pksharma-ebiz, currently LoopBack 4 does not support References* relations, and Consider using I understand that this may not be answer you're looking for, but I do hope it helps provide insight onto the feature status. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ,
I am facing issue when I am trying reference-many relation in my application where I want that a book can have multiple authors and I can save each author Id in an array.
I also setup emitDecoratorMetadata in tsc.config as true.
Can some guide me there
Cannot start the application. Error: Cannot infer type of model property Authors.prototype.id because TypeScript compiler option
emitDecoratorMetadata
is not set. Please enableemitDecorato rMetadata
or use the second argument of@referencesMany
decorator to specify the property type explicitly.Beta Was this translation helpful? Give feedback.
All reactions