Conditional Polymorphism #9017
Unanswered
A-Corregidor
asked this question in
Q&A
Replies: 2 comments
-
Up |
Beta Was this translation helpful? Give feedback.
0 replies
-
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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