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

Expose Models so they can be "inherited" #9

Open
micahr opened this issue Oct 12, 2015 · 2 comments
Open

Expose Models so they can be "inherited" #9

micahr opened this issue Oct 12, 2015 · 2 comments

Comments

@micahr
Copy link
Member

micahr commented Oct 12, 2015

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.

@micahr
Copy link
Member Author

micahr commented Dec 9, 2015

@DonutEspresso - What do you think about moving models into their own module? Perhaps: restify-conductor-models?

@DonutEspresso
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants