You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
What is the best way to define a polymorphic relationship? I created the models and they are inheriting from the same base class, but then how do I define a ToOne relationship?
I tried using the base class, like (where Group is my base class):
What is the best way to define a polymorphic relationship? I created the models and they are inheriting from the same base class, but then how do I define a ToOne relationship?
I tried using the base class, like (where
Group
is my base class):But then the deserializer gets the
resourceType
from the base class, even if I register only the child class.The text was updated successfully, but these errors were encountered: