With JSON schema defined as such
{
"title": "test",
"properties": {
"_id": {
"bsonType": "objectId"
},
"aliases": {
"bsonType": "array",
"items": {
"bsonType": "string"
}
}
}
}
The generated graphQL schema is:
type Test {
_id: ObjectId
aliases: [String]
}
I would expect
type Test {
_id: ObjectId
aliases: [String!]
}
Am I missing something or is it a bug?