MCPcopy Create free account
hub / github.com/effect-app/libs / middleware

Function middleware

repos/effect/packages/effect/src/unstable/httpapi/HttpApi.ts:157–163  ·  view source on GitHub ↗
(this: AnyWithProps, tag: HttpApiMiddleware.AnyService)

Source from the content-addressed store, hash-verified

155 this: Top,
156 api: Top
157 ) {
158 const newGroups = { ...this.groups }
159 for (const key of Object.keys(api.groups)) {
160 const group = api.groups[key]
161 InternalRecord.assignProperty(
162 newGroups,
163 key,
164 group.annotateMerge(Context.merge(api.annotations, group.annotations))
165 )
166 }

Callers 4

executeMiddlewareFunction · 0.70
makeSecurityMiddlewareFunction · 0.70
layerClientFunction · 0.70
toHandledFunction · 0.50

Calls 3

makeProtoFunction · 0.70
mapMethod · 0.65
middlewareMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…