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
I have a Organization class (not an entity) and many entities that inherit from this class such as Grower, Company, Client, etc.
What I wan't to do is to have a UserOrganizationRole entity that polymorphically points to this different entities but when I add the PolymorphicChildren decorator to Organization it gives me the error "Class extends value undefined is not a constructor or null" this doesn't happen if a I add the decorator separately in every entity.
I'm doing something wrong or the library doesn't support the heritage of the PolymorphicChildren decorator?
Hi! I have a question regarding inheritance.
I have a Organization class (not an entity) and many entities that inherit from this class such as Grower, Company, Client, etc.
What I wan't to do is to have a UserOrganizationRole entity that polymorphically points to this different entities but when I add the PolymorphicChildren decorator to Organization it gives me the error "Class extends value undefined is not a constructor or null" this doesn't happen if a I add the decorator separately in every entity.
I'm doing something wrong or the library doesn't support the heritage of the PolymorphicChildren decorator?
Example:
This works:
This doesn't works:
The text was updated successfully, but these errors were encountered: