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
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?
The text was updated successfully, but these errors were encountered:
I believe this very same issue also blocks the use of a rails-like pattern of having a ApplicationRecord class as base class for all models, I get the same error.
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?
The text was updated successfully, but these errors were encountered: