create a generateFIlterFunction

Error:
3:23:36 PM [vite] page reload src/main/services/generateFilters.ts (x8)
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'SQLiteTable'
| property 'id' -> object with constructor 'SQLiteText'
--- property 'table' closes the circle
at JSON.stringify (<anonymous>)
at Object.json (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:1325:28)
at Module.json (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/server-runtime/dist/responses.js:28:17)
at ListCallsUsecase.execute (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/app/usecases/call/listCalls/ListCallsUsecase.ts:24:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ListCallsController.handle (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/app/usecases/call/listCalls/ListCallsController.ts:14:12)
at async loader (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/routes/api.call.channel-id.$channelId.ts:9:10)
at async Object.callRouteLoader (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/server-runtime/dist/data.js:59:16)
at async /Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:4724:19
at async callLoaderOrAction (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:4790:16)
3:23:36 PM [vite] page reload src/main/services/generateFilters.ts (x8)
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'SQLiteTable'
| property 'id' -> object with constructor 'SQLiteText'
--- property 'table' closes the circle
at JSON.stringify (<anonymous>)
at Object.json (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:1325:28)
at Module.json (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/server-runtime/dist/responses.js:28:17)
at ListCallsUsecase.execute (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/app/usecases/call/listCalls/ListCallsUsecase.ts:24:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ListCallsController.handle (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/app/usecases/call/listCalls/ListCallsController.ts:14:12)
at async loader (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/src/routes/api.call.channel-id.$channelId.ts:9:10)
at async Object.callRouteLoader (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/server-runtime/dist/data.js:59:16)
at async /Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:4724:19
at async callLoaderOrAction (/Users/lucasgoncalves/Documents/inbox-flow-remix-api/node_modules/@remix-run/router/dist/router.cjs.js:4790:16)
5 Replies
Kobayashi 炎
Kobayashi 炎OP3mo ago
I'm creating a function to help me manipulate filters, but I get an error that I can't understand, can anyone help me?
Kobayashi 炎
Kobayashi 炎OP3mo ago
No description
Kobayashi 炎
Kobayashi 炎OP3mo ago
No description
Kobayashi 炎
Kobayashi 炎OP3mo ago
No description
Kobayashi 炎
Kobayashi 炎OP3mo ago
No description
Want results from more Discord servers?
Add your server