schultek / stormberry

Access your postgres database effortlessly from dart code.
https://pub.dev/packages/stormberry
MIT License
68 stars 17 forks source link

Make generated view classes extend model class #40

Open abitofevrything opened 1 year ago

abitofevrything commented 1 year ago

Currently, view classes implement the model class. This is annoying when defining methods on the model class (such as toJson) as the implementation is not inherited.

schultek commented 1 year ago

As mentioned in #41 this is likely to change in the future. Please add some context for your use-case so it is documented and I can keep this in mind when working on this again.