Skip to content

Commit

Permalink
docs(readme): fix usage, install graphql as peer dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Marton committed Oct 8, 2015
1 parent ac5702c commit d8c19c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ var User = mongoose.model('User', UserSchema);

##### graffiti-mongoose
```javascript
import {getSchema, graphql} from '@risingstack/graffiti-mongoose';
import {getSchema} from '@risingstack/graffiti-mongoose';
import graphql from 'graphql';

var schema = getSchema([User]);

Expand Down

0 comments on commit d8c19c1

Please sign in to comment.