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

A collection declared as a prop introduces errors. #59

Closed
EvanCarroll opened this issue Sep 8, 2015 · 2 comments
Closed

A collection declared as a prop introduces errors. #59

EvanCarroll opened this issue Sep 8, 2015 · 2 comments

Comments

@EvanCarroll
Copy link

I think if you have a collection and a prop by the same name, a fatal error should be thrown when one tries to override the other. My code only works as a collection..

module.exports = BaseModel.extend({        
  props: {                                 
    clientid: 'number'                     
    // , events: 'object'                     
  }                                        
  , collections: { events: NE } 
@cdaringe
Copy link
Member

cdaringe commented Sep 8, 2015

@pgilad recently did just this. AmpersandJS/ampersand-state#192. looks like the &-model deps just need to be bumped to ampersand-state@4.6.x+

@kamilogorek
Copy link

ampersand-state has been bumped, therefore closing this one.

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

3 participants