Files
effect/migration/annotations/effect__platform__HttpApi.yaml
T
2026-07-27 15:13:57 +12:00

16 lines
926 B
YAML

"@effect/platform/HttpApi#Api":
replacement: "none"
note: "The Context tag carrying the API was removed. Pass the HttpApi value explicitly to builders and clients."
"@effect/platform/HttpApi#HttpApi.Any":
replacement: "effect/unstable/httpapi/HttpApi#Constraint"
note: "Use the erased marker constraint when only HttpApi identity is needed."
"@effect/platform/HttpApi#HttpApi.AnyWithProps":
replacement: "effect/unstable/httpapi/HttpApi#Top"
note: "Use the widened HttpApi type that retains runtime properties."
"@effect/platform/HttpApi#make":
replacement: "effect/unstable/httpapi/HttpApi#make"
note: "The constructor remains, but API-wide error and service parameters were removed; declare errors on endpoints and attach middleware."
"@effect/platform/HttpApi#TypeId":
replacement: "none"
note: "The marker is private in v4; use HttpApi.isHttpApi for runtime narrowing and Constraint or Top for types."