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
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,8 @@ Start your API server with I/O schema validation and custom middlewares in minut
59
59
5.[Graceful shutdown](#graceful-shutdown)
60
60
6.[Subscriptions](#subscriptions)
61
61
8.[Caveats](#caveats)
62
-
1.[Excessive properties in endpoint output](#excessive-properties-in-endpoint-output)
62
+
1.[TypeError: example is not a function](#typeerror-example-is-not-a-function)
63
+
2.[Excessive properties in endpoint output](#excessive-properties-in-endpoint-output)
63
64
9.[Your input to my output](#your-input-to-my-output)
64
65
65
66
See also [Changelog](CHANGELOG.md) and [automated migration](https://www.npmjs.com/package/@express-zod-api/migration).
@@ -1394,6 +1395,11 @@ framework, [Zod Sockets](https://github.com/RobinTail/zod-sockets), which has si
1394
1395
There are some well-known issues and limitations, or third party bugs that cannot be fixed in the usual way, but you
1395
1396
should be aware of them.
1396
1397
1398
+
## TypeError: example is not a function
1399
+
1400
+
If you face this error then [switch your environment to ESM](#environment-preparation).
1401
+
See [issue 2981](https://github.com/RobinTail/express-zod-api/issues/2981) for details.
1402
+
1397
1403
## Excessive properties in endpoint output
1398
1404
1399
1405
The schema validator removes excessive properties by default. However, Typescript
@@ -1402,13 +1408,9 @@ in this case during development. You can achieve this verification by assigning
0 commit comments