Replies: 3 comments 1 reply
-
hello, is this still in progress, or has this been implemented? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is still in progress. BTW, the polymorphic relations feature has a bug that I am working on a fix. |
Beta Was this translation helpful? Give feedback.
1 reply
-
In case anything unclear in the doc, you can have a check of this example. https://github.com/OnTheThirdDay/lb4-polymorphic-example |
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
-
This is a continuation of #2487.
At this moment, it's not possible for the LoopBack 4 CLI to generate polymorphic relations. We should update the CLI to introduce a new set of prompts for the relation generator to ask if the user wants to make the relation polymorphic, and if so, what discriminator should be used.
Beta Was this translation helpful? Give feedback.
All reactions