npm package diff
Package: express-zod-api
Versions: 22.6.0 - 22.7.0-beta.0
File: package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -3232,11 +3232,8 @@
- However, both of these types may have a common ancestor, which make it challenging to recognize them on the level
of Types. So I made a decision to handle this case programmatically.
- `createMiddleware()` and `Endpoint::constructor()` will throw in case of using `.transform()` on the top level of
`IOSchema`.
-- **Help wanted**: In case anyone smarter than me is reading this, please let me know how I can improve `IOSchema`
- [type](https://github.com/RobinTail/express-zod-api/blob/master/src/io-schema.ts) to allow refinements without
- allowing transformations at the same time.
```ts
// ZodEffects<ZodObject<{}>, boolean, {}>
z.object({}).transform(() => true); // OK, this is catchable