1602/jugglingdb — Issue #13: Inheritance
Author: juggy
Created: 2011-12-06 03:19:30+00:00
State: open

It seems that it is not possible to do a simple inheritance on models. Let's say I have a model called Transaction and want to create a FreeTransaction sub model. Simple prototyping inheritence does not seem to work. I narrowed it down to the use of constructor to store schema dependent object (_validations, schema, modelName, etc).

How would you do this inheritence?