I noticed that when I remove nestia imports import { TypedBody, TypedParam, TypedQuery, TypedRoute } from '@nestia/core' it controller start working.
The second problem is my dev server reaction to changes. Before using nestia it was normal to around 1s, now It takes more than 15s... I use it only for validation, I don't generate SDK
I have followed this tuto: https://nestia.io/docs/setup/#nx, and at the beginning, it works fine, but when I finished refactoring it stop working
I have a separate NS js library with types and they are imported in the NestJS lib, which is again imported in NestJS App. I have about 20 controllers and a problem occurs only at these four.
Summary
I'm using NX monorepo, Four of my controllers can't be build due to given errors:
I noticed that when I remove nestia imports
import { TypedBody, TypedParam, TypedQuery, TypedRoute } from '@nestia/core'
it controller start working.The second problem is my dev server reaction to changes. Before using nestia it was normal to around 1s, now It takes more than 15s... I use it only for validation, I don't generate SDK
"@nestia/sdk": "^3.0.5", "nestia": "^5.3.0", "@nestia/core": "^3.0.5", "@nestia/e2e": "^0.4.3", "@nestia/fetcher": "^3.0.5",
I have followed this tuto: https://nestia.io/docs/setup/#nx, and at the beginning, it works fine, but when I finished refactoring it stop working
I have a separate NS js library with types and they are imported in the NestJS lib, which is again imported in NestJS App. I have about 20 controllers and a problem occurs only at these four.
Code occuring the bug
Importing nestia to nestJS controller