-
Notifications
You must be signed in to change notification settings - Fork 76
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
Created adapter blueprint with db name in config environment #91
Conversation
@@ -0,0 +1,32 @@ | |||
import { Adapter } from 'ember-pouch/index'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need index: import { Adapter } from 'ember-pouch';
👍 |
Thanks for the code review, fixed those issues. |
I think this is a good idea. I think it would be more in keeping with Ember style for the config key to be camelized ( Sorry again for the slow response. |
live: true, | ||
retry: true | ||
}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block is double-indented (4 spaces instead of 2).
Ok updated the key and added a section to the README |
Great, thanks. If you could rebase & squash we'll be ready to merge. |
closing in favor of #102 |
I saw in the dummy app adapter that you had a TODO to grab the db name from some external source. I think this is the community's preferred method is sticking this stuff in the config. I went ahead and created an adapter blueprint to match what's in the readme and to pull in the db name from the config.