Before the start generate the schema, build an object structure, test it and generate the schema from this object instead of look direct over sequelize models.
{
"scalars": [],
"inputs": {},
"types": {
"Query": [],
"Mutation": [],
"Subscription": [],
"category": [
{
"name": "id",
"type": {
"name": "ID",
"allowNull": false,
"collection": false
},
"args": [
{
"name": "_where",
"type": {
"name": "_inputWhereId"
}
}
]
}
]
}
Before the start generate the schema, build an object structure, test it and generate the schema from this object instead of look direct over sequelize models.