hasManyThrough: adding custom properties to #8682
Unanswered
arnaud16571542
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
Using the HasManyThrough documentation, i created a relation between my 2 entities, and it works !
https://loopback.io/doc/en/lb4/HasManyThrough-relation.html
However, I need to add specifics informations to this relation. In the documentation's example with Doctor & Patient, in the Appointment table, i would like to set a Date & Time of appointment.
I added these properties, but I was not able to find a simple way to get this information. I could do a request in the HasManyThrough table, and reassociate this information to Doctor / Patient, but this is quite boring :).
Is there any native way to do this ?
Thank you everyone for your time !
Beta Was this translation helpful? Give feedback.
All reactions