(this: HttpApiEndpoint.AnyWithProps, middleware: HttpApiMiddleware.TagClassAny)
| 807 | }) |
| 808 | }, |
| 809 | middleware(this: HttpApiEndpoint.AnyWithProps, middleware: HttpApiMiddleware.TagClassAny) { |
| 810 | return makeProto({ |
| 811 | ...this, |
| 812 | errorSchema: HttpApiSchema.UnionUnify(this.errorSchema, middleware.failure), |
| 813 | middlewares: new Set([...this.middlewares, middleware]) |
| 814 | }) |
| 815 | }, |
| 816 | annotate(this: HttpApiEndpoint.AnyWithProps, tag: Context.Tag<any, any>, value: any) { |
| 817 | return makeProto({ |
| 818 | ...this, |
nothing calls this directly
no test coverage detected