-
Notifications
You must be signed in to change notification settings - Fork 5
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
Expose Models so they can be "inherited" #9
Comments
@DonutEspresso - What do you think about moving models into their own module? Perhaps: restify-conductor-models? |
Sure, I imagine that will add some flexibility to the design. So long as the public interface for all models is pretty clear (e.g., minimum number of methods that need to be implemented to be considered a valid model). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to inherit the methods / properties on a Model, one has to "create" one then inherit from it's prototype. This seems inefficient and unnecessary. Perhaps a separate module for models would enable inheritance as well as contribution back to the set of models.
The text was updated successfully, but these errors were encountered: