Skip to content

Commit 663197a

Browse files
authored
Update README.md
1 parent 9df3aae commit 663197a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ const UserSchema = new mongoose.Schema({
4747
type: String,
4848
enum: ['male', 'female', 'ladyboy'],
4949
},
50+
someMixed: {
51+
type: mongoose.Schema.Types.Mixed,
52+
description: 'Can be any mixed type, that will be treated as JSON GraphQL Scalar Type',
53+
},
5054
});
5155
const UserModel = mongoose.model('UserModel', UserSchema);
5256

0 commit comments

Comments
 (0)