We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df3aae commit 663197aCopy full SHA for 663197a
README.md
@@ -47,6 +47,10 @@ const UserSchema = new mongoose.Schema({
47
type: String,
48
enum: ['male', 'female', 'ladyboy'],
49
},
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
+ },
54
});
55
const UserModel = mongoose.model('UserModel', UserSchema);
56
0 commit comments