(this: AnyWithProps, middleware: RpcMiddleware.TagClassAny)
| 571 | }) |
| 572 | }, |
| 573 | middleware(this: AnyWithProps, middleware: RpcMiddleware.TagClassAny) { |
| 574 | return makeProto({ |
| 575 | _tag: this._tag, |
| 576 | payloadSchema: this.payloadSchema, |
| 577 | successSchema: this.successSchema, |
| 578 | errorSchema: this.errorSchema, |
| 579 | defectSchema: this.defectSchema, |
| 580 | annotations: this.annotations, |
| 581 | middlewares: new Set([...this.middlewares, middleware]) |
| 582 | }) |
| 583 | }, |
| 584 | prefix(this: AnyWithProps, prefix: string) { |
| 585 | return makeProto({ |
| 586 | _tag: `${prefix}${this._tag}`, |
no test coverage detected