Skip to content

Subclassing in MotionData #12

Open
@jetpad

Description

@jetpad

I have a "Note" model that needs to have a relationship with multiple other models so I'd like to create a base "Note" class that several other classes will inherit and then add the relationship in each of the derived classes. It looks like that currently isn't possible with MotionData. Any ideas on the approach for adding it? Is that making things too complicated? Or should I just add the multiple relationships to my "Note" model and then use the appropriate one for where it is being used?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions