You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to force the user to provide a date range when querying tasks using @FilterableField({ filterRequired: true, allowedComparisons: ['between'] }). However, when I start the app, I get this error and I can't find how to fix it:
./node_modules/@nestjs/graphql/dist/utils/reflection.utilts.js:15
throw new undefined_type_error_1.UndefinedTypeError((0, lodash_1.get)(prototype, 'constructor.name'), propertyKey, index); ^Error: Undefined type error. Make sure you are providing an explicit type for the "date" of the "TaskCalendarFilter" class.
📚 Documentation
I'm trying to force the user to provide a date range when querying tasks using
@FilterableField({ filterRequired: true, allowedComparisons: ['between'] })
. However, when I start the app, I get this error and I can't find how to fix it:Here's my code:
Have you read the Contributing Guidelines on issues?
Yes
The text was updated successfully, but these errors were encountered: