Micael Levi L. Cavalcante

Results 257 comments of Micael Levi L. Cavalcante

I've just created an action to find the last updated issue that has the given labels: https://github.com/marketplace/actions/find-last-issue I tested it here: https://github.com/micalevisk/awesome-nestjs/issues/5 As you can see, the issue was updated...

I'm no sure if we should add yet another decorator. There are too much decorators already :thinking: What about: ```ts @UseInterceptors(new ClassSerializerInterceptor({ returnType: UserEntity })) @Get() findOne(): UserEntity { return...

I was expecting a lot of edge cases for the REPL tbh I'll investigate this issue tomorrow

another thing on this issue: ![image](https://user-images.githubusercontent.com/13461315/178123132-42fcbe3b-1c7b-4d91-960c-c3ddeb8a252c.png) it is always selecting the provider registered on `CatModule` ![image](https://user-images.githubusercontent.com/13461315/178123178-da290f59-ad78-4c11-9f92-ee8a6ad4129d.png) ![image](https://user-images.githubusercontent.com/13461315/178123185-e1655fdb-71c8-4c6b-b2fa-cc0c92825bd1.png)

I'm using your repro repo. It is `repl(AppModule)`

if we drop the `this.globalScope[stringifiedToken]` assertion below and change that `configurable` to `true`, `debug()` will display the desired output ![image](https://user-images.githubusercontent.com/13461315/178184961-7148f676-3339-43af-9440-1245d218188c.png) https://github.com/nestjs/nest/blob/34cb6001c30b3e2d2a9570bc87c6bd78a8c49524/packages/core/repl/repl-context.ts#L81-L87 https://github.com/nestjs/nest/blob/34cb6001c30b3e2d2a9570bc87c6bd78a8c49524/packages/core/repl/repl-context.ts#L91 but that didn't solve this another issue: ```...

@BrunnerLivio > though even with `select(CatModule).get(AppService)` it will select the `AppService` of `AppModule` - not the one from `CatModule`. we need to supply `{ strict: true }` to the `get()`...

due to the above described behavior, `$(duplicatedToken)` ends up returning the wrong provider like so: ![image](https://user-images.githubusercontent.com/13461315/182028338-fe3fcc58-a60f-4ac1-837a-bdb8f79f8e22.png) but if we use `strict: true` below, we got a _Nest could not find...

@ologbonowiwi another bug that I believe isn't directly related to this issue is that: when we have a provider with the same token registered in multiple modules, the latest registered...