IvyApp / ivy-stateful

Simple state machines for Ember apps.
MIT License
2 stars 2 forks source link

Consider renaming the mixin's send function #1

Open nbibler opened 9 years ago

nbibler commented 9 years ago

ember-data's DS.Model currently provides a private send method. The use of the Stateful mixin in a model object overrides that private function and causes exceptions to occur.

Perhaps sendToCurrentState instead?

nbibler commented 9 years ago

Hrm.. furthermore, ember-data uses an internal currentState to represent the state of the model (clean, dirty, loaded, etc.) and transitionTo for state transitions. Seems like this is steadily getting out of hand. ;)