Skip to content

DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead. #9

@pedromagalhaes

Description

@pedromagalhaes

PS C:\GraphQLCasts\Lyrical-GraphQL> yarn run dev

yarn run v1.3.2
$ nodemon index.js --ignore client
[nodemon] 1.17.5
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node index.js

(node:13016) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection().

See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions