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

can.compute-friendly validations #410

merged 3 commits into from Jul 19, 2013


None yet
2 participants

daffl commented Jul 19, 2013 shows:

var res =, isTest ? ( self.__convert ?
   self.__convert(attr, newVal) :
   newVal ) : self[attr]);

If self[attr] became self.attr(attr), it would allow can.computes to be constructed on can.Observes based on validations. Would this cause undesirable side effects?

daffl added a commit that referenced this pull request Jul 19, 2013

@daffl daffl merged commit 2460e7c into master Jul 19, 2013

1 check passed

default The Travis CI build passed

@daffl daffl deleted the compute-validations-410 branch Jul 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment