Miaow
Miaow
Here is the example that you need: https://github.com/nest-cloud/nestcloud-consul-example
可以使用 Interceptor 对数据进行处理: ```typescript import { Injectable } from '@nestjs/common'; import { Interceptor } from '@nestcloud/http'; import { AxiosResponse } from 'axios'; @Injectable() export class TestInterceptor implements Interceptor { onResponse(response:...
没用过 dubbo,如果有时间看下能不能加进来
Please check NotificationService constructor index[0] parameter, nest inject it fail
The this context is different between decorator and function, not use this in decorator
The job will execute again after the server restarts, maybe you can use lock for executing only once
The discoveryHost is your service address, not consul address. This is an config example: ```yaml consul: host: 192.168.1.20 port: 8500 service: discoveryHost: 127.0.0.1 healthCheck: timeout: 1s interval: 10s maxRetry: 5...
It's not support `useFactory` now, I will add this feature in next version.
You can also use the boot module instead of `configService` and use `NEST_BOOT_PROVIDER` to inject the boot instance.😁 v0.6.x: ```typescript import { NEST_BOOT_PROVIDER, IBoot } from '@nestcloud/common'; MongooseModule.forRootAsync({ inject: [NEST_BOOT_PROVIDER],...