(this: AnyWithProps, middleware: RpcMiddleware.AnyService)
| 818 | }) |
| 819 | }, |
| 820 | middleware(this: AnyWithProps, middleware: RpcMiddleware.AnyService) { |
| 821 | return makeProto({ |
| 822 | _tag: this._tag, |
| 823 | payloadSchema: this.payloadSchema, |
| 824 | successSchema: this.successSchema, |
| 825 | errorSchema: this.errorSchema, |
| 826 | defectSchema: this.defectSchema, |
| 827 | annotations: this.annotations, |
| 828 | middlewares: new Set([...this.middlewares, middleware]) |
| 829 | }) |
| 830 | }, |
| 831 | prefix(this: AnyWithProps, prefix: string) { |
| 832 | return makeProto({ |
| 833 | _tag: `${prefix}${this._tag}`, |
no test coverage detected
searching dependent graphs…