RisingStack / graffiti-mongoose

⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node.js GraphQL ORM)
https://risingstack-graffiti.signup.team/
MIT License
382 stars 52 forks source link

It is possible to add some description to schema and to be reflected in the docs? #208

Open JohnProg opened 7 years ago

JohnProg commented 7 years ago

Overview of the Issue

In the docs of GraphiQL is no possible to see a description for the schemas.

Suggest a Fix

We could add the description for the schema like the following:

const user = new mongoose.Schema({
    name: String
}, {
  collection: 'This is ...',
});