astahmer / openapi-zod-client

Generate a zodios (typescript http client with zod validation) from an OpenAPI spec (json/yaml)

Home Page:openapi-zod-client.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-pattern version mismatch errors on local playground

scarf005 opened this issue · comments

commented

image

openapi-zod-client uses ts-pattern 5.0.1 (bumped on #165), and playground uses 4.0.5.

despite P.string.includes (new from V5) being only used in openapi-zod-client, vite seems to run openapi-zod-client using ts-pattern 4.0.5. the error still happens even if dependency version bumped to "workspace:^1.8.0", (latest).