Skip to content

feat (mongoose): use mongoose-bird to promisify the mongoose API #520

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

Merged

Conversation

kingcody
Copy link
Member

@kingcody kingcody commented Sep 3, 2014

This is a rebase of @pentateu's mongoose-bird PR, rebased onto canary.

Main purpose is to demonstrate the rebase changes. Can be closed in favor of #503.

var _ = require('lodash');<% if (filters.mongoose) { %>
var Thing = require('./thing.model');<% } %>
var _ = require('lodash');
var Thing = require('./thing.model');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kingcody I noticed that you have removed the <% if (filters.mongoose) { %> from around the var Thing = require('./thing.model'); ... and in some other places also.

This is required so when the mongoose option is turned off in the generator this line is not generated in the final output.

DaftMonk added a commit that referenced this pull request Sep 14, 2014
feat (mongoose): use mongoose-bird to promisify the mongoose API
@DaftMonk DaftMonk merged commit 125e367 into angular-fullstack:canary Sep 14, 2014
@kingcody kingcody deleted the feature/mongoose-bird-rebase branch September 21, 2014 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants