Comments (8)
@micalevisk May I request a review? I've updated the minimal reproduction comments and reproduction procedure above, and I've posted sample code as you suggested - it's a minimal scenario test, so there's a lot of source code.
from nest.
I've no ideia ๐ค
from nest.
Please provide a minimum reproduction repository. You can start one by running npm init nest
in your terminal
why reproductions are required
from nest.
@micalevisk I think this issue is related to the import/export behavior of Typescript. What do you think? I think it's right, it suddenly started working again ๐. All import/export code is working fine during the overhaul. I've had a hard time with this, you've had a hard time, so you can rest now.๐
from nest.
This is the second time this has happened to me.
in
src/module/auth/feature/sign-in-user.api.ts
before
: The
Request
was placed inside theauth
module outside the Api class.
import { AuthToken, SignInUserRequest } from '@src-module/auth/feature'
after
: Located in the same folder as the API class
import { SignInUserRequest } from './sign-in-user.request'
I thought it was fixed. It was my mistake. It's hard...
from nest.
I'll commit the rest of the code to the repository to reflect this, so take a look when you need to.
from nest.
Let's reopen it first.
because it's impossible to reproduce what happened๐. I don't know how it was fixed.
I don't think it's just an import/export issue with Typescript. I feel like I'm getting lost in a maze...
from nest.
I'm sure it's just an import/export issue, possibly caused by barrel files (index.ts) introducing a cyclic import in your code, leading to TS metadata being undefined in a specific context
from nest.
Related Issues (20)
- Options property inboxPrefix not implemented in ClientNats HOT 1
- ValidationPipe does not support index.ts file importing HOT 2
- `UploadFile()` should accept `Readable` instead of `Buffer` HOT 5
- @UploadFiles Decorator Not Working As Expected HOT 1
- ClassSerializerInterceptor misses groups when using options.type HOT 1
- AppController query, req, res variables are undefined when typegoose's setLoglevel executed in main.ts HOT 2
- applyDecorators doesn't update the openapi.json file when using Matches decorator HOT 4
- Allow multiple schemas with same name HOT 1
- GRPC Stream Error HOT 4
- `ValidationPipe` and possibly others throw `HttpException` when used on WS gateways
- Type issue with supertest and `app.getHttpServer()` HOT 5
- Middleware `forRoutes` not working with wildcard which is already working for `exclude` of another middleware HOT 1
- Add built-in HTTP exception `TooManyRequests` to `nestjs/common` package HOT 4
- support for nats jetstream in microservice HOT 1
- NestJS microservices sentinels not connected.
- Jest fails to import files HOT 7
- Type instantiation is excessively deep and possibly infinite HOT 3
- Route Handler Fails to Reflect Middleware Modifications to `request.originalUrl` for API Versioning
- cannot run debugger with custom webpack config HOT 1
- Extended ConsoleLogger prints undefined on every log message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nest.