Setting field type to Number throws error: (node:2649) UnhandledPromiseRejectionWarning: Error: Unknown type "undefinedFilterInput".
ilyaskarim opened this issue · comments
Ilyas Karim commented
Setting field type to Number throws error: (node:2649) UnhandledPromiseRejectionWarning: Error: Unknown type "undefinedFilterInput". Did you mean "StringFilterInput", "IntFilterInput", "DateFilterInput", "BooleanFilterInput".
Example:
const module = {
database: {
...RestOfConfiguration,
sql: {
tableName: "category",
fields: {
age: {
type: "Number",
},
},
},
},
};