(this: AnyWithProps, payloadSchema: Schema.Struct<any> | Schema.Struct.Fields)
| 560 | }) |
| 561 | }, |
| 562 | setPayload(this: AnyWithProps, payloadSchema: Schema.Struct<any> | Schema.Struct.Fields) { |
| 563 | return makeProto({ |
| 564 | _tag: this._tag, |
| 565 | payloadSchema: Schema.isSchema(payloadSchema) ? payloadSchema as any : Schema.Struct(payloadSchema as any), |
| 566 | successSchema: this.successSchema, |
| 567 | errorSchema: this.errorSchema, |
| 568 | defectSchema: this.defectSchema, |
| 569 | annotations: this.annotations, |
| 570 | middlewares: this.middlewares |
| 571 | }) |
| 572 | }, |
| 573 | middleware(this: AnyWithProps, middleware: RpcMiddleware.TagClassAny) { |
| 574 | return makeProto({ |
| 575 | _tag: this._tag, |
nothing calls this directly
no test coverage detected