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

What is the pouch-model blueprint supposed to do? #250

Open
jacobq opened this issue Nov 12, 2019 · 1 comment
Open

What is the pouch-model blueprint supposed to do? #250

jacobq opened this issue Nov 12, 2019 · 1 comment

Comments

@jacobq
Copy link
Contributor

jacobq commented Nov 12, 2019

It looks like doing ember g pouch-model foo should generate a file defining a new model that includes the rev attribute, i.e. by extending from addon/model.js. I expected to see something like this but instead I see this:

// ember-cli 3.13.1
// ember-pouch 6.0.0
// app/pouch-models/foo.js
import DS from 'ember-data';
const { Model } = DS;

export default Model.extend({

});
@jlami
Copy link
Collaborator

jlami commented Nov 12, 2019

I agree that we should change that to be the default blueprint.

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