graffiti-mongoose icon indicating copy to clipboard operation
graffiti-mongoose copied to clipboard

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

Open JohnProg opened this issue 8 years ago • 0 comments

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 ...',
});

JohnProg avatar Mar 20 '17 15:03 JohnProg