Conditional Polymorphism #9017
Unanswered
A-Corregidor
asked this question in
Q&A
Replies: 2 comments
-
Hi @A-Corregidor, I understand some time has passed since this discussion was initiated. Unfortunately I'm not aware of this being possible with the current implementation. Polymorphism is still a relatively-new feature in LoopBack 4, so there's still plenty of opportunity to improve on it. |
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
-
Hi there!
I can't find on docs if it's possible to build a conditional polymorphism, omitting it when the discriminator is null.
Let's suppose model A:
Thinking of 3 different scenariors:
Is there any way to ignore polymorphism when discriminator is null?
Beta Was this translation helpful? Give feedback.
All reactions