Uconnect-Technologies / wertik-js

💪 A library that powers your app with GraphQL + Rest API

Home Page:http://wapgee.com/wertik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting field type to Number throws error: (node:2649) UnhandledPromiseRejectionWarning: Error: Unknown type "undefinedFilterInput".

ilyaskarim opened this issue · comments

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",
        },
      },
    },
  },
};