Patch Changes
-
#4065
7044730
Thanks @KhraksMamtsov! - Ensure the uniqueness of the parameters at the type levelimport { HttpApiEndpoint, HttpApiSchema } from "@effect/platform" import { Schema } from "effect" HttpApiEndpoint.get( "test" )`/${HttpApiSchema.param("id", Schema.NumberFromString)}/${ // @ts-expect-error: Argument of type 'Param<"id", typeof NumberFromString>' is not assignable to parameter of type '"Duplicate param :id"' HttpApiSchema.param("id", Schema.NumberFromString) }`