9 Matching Annotations
- Jun 2024
-
docs.nestjs.com docs.nestjs.com
-
transforms the resulting HTTP responses into Observables.
observables?
-
options object that is only supplied at run-time
为什么options对象只在runtime执行
-
constructor(private catsService: CatsService) {}
这就是通过constructor在注入依赖吗
-
the providers that will be instantiated by the Nest injector
这里的providers?
-
cat.interface.ts
这个是什么
-
include the HTTP_OPTIONS custom token. P
自定义的provider就要在inject的时候传入token吗
-
'CONNECTION'
这个就是token
-
the registration process.
所以这个注册的过程是
-
The @Injectable() decorator attaches metadata, which declares that CatsService is a class that can be managed by the Nest IoC container.
这是什么意思
-