Open BMahabir opened 5 years ago
I don't want to add the rev field to a mixin, but if I don't, I get the error for it as if it was a model :
Please add a `rev` attribute of type `string` on the AssignableNote model.
This probably because I have a model that uses that mixin :
import AssignableAction from 'erm/mixins/assignable-action'; import AssignableNote from 'erm/mixins/assignable-note'; import Model from 'ember-pouch/model'; export default Model.extend(AssignableAction, AssignableNote, { org: DS.belongsTo('org'), name: DS.attr(), email: DS.attr(), });
Any help appreciated -- thanks!
Does this happen even if you add a rev to the model that actually extends an Ember Pouch model?
rev
I don't want to add the rev field to a mixin, but if I don't, I get the error for it as if it was a model :
Please add a `rev` attribute of type `string` on the AssignableNote model.
This probably because I have a model that uses that mixin :
Any help appreciated -- thanks!