Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make generated view classes extend model class #40

Open
abitofevrything opened this issue Jan 9, 2023 · 1 comment
Open

Make generated view classes extend model class #40

abitofevrything opened this issue Jan 9, 2023 · 1 comment

Comments

@abitofevrything
Copy link
Contributor

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants