Skip to content

Can't subclass a subclass of Granite::Base? #500

@Eldomir

Description

@Eldomir

This might just be ignorance, but I didn't know where to ask exactly. I have a class "Entity" which is a subclass of Granite::Base, and when I try to subclass Entity into Item, I get the following error:

"Error: can't annotate @new_record in Item because it was first defined in Entity"

Does this mean I can't use inheritance for any of my classes that inherit from Granite::Base?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions