You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example using '@kubb/plugin-ts' and '@kubb/plugin-zod' on a public TiTiler API shows a lot of the errors I've experienced trying to update to v3.x from v2.28.4.
There are two main error types that stand out:
Most errors are coming from the newly added ToZod utility type, which seems to be far too strict
There are import errors in the zod files, where the casing in the file name is different from what the ts plugin produces. For example, see tileCogTilesTileMatrixSetIdZXYFormatGetSchema.ts or any file with ZXY in the name.
How often does this bug happen?
Every time
What is the expected behavior?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of
kubb
is running?3.4.0
What kind of platform do you use?
Linux
How does your
kubb.config.ts
config look likeNo response
Swagger/OpenAPI file?
No response
What version of external packages are you using(
@tanstack-query
,MSW
,React
,Vue
, ...)No response
What steps can reproduce the bug?
https://codesandbox.io/p/devbox/kubb-zod-tuple-example-j75v58
This example using '@kubb/plugin-ts' and '@kubb/plugin-zod' on a public TiTiler API shows a lot of the errors I've experienced trying to update to v3.x from v2.28.4.
There are two main error types that stand out:
ToZod
utility type, which seems to be far too stricttileCogTilesTileMatrixSetIdZXYFormatGetSchema.ts
or any file with ZXY in the name.How often does this bug happen?
Every time
What is the expected behavior?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: