Skip to content

Commit 0ba55d3

Browse files
committed
chore: add comment about tsoa incompatibility w/ zod
In case somebody is wondering why we have duplicate type definitions in our code base.
1 parent 8a9f1a2 commit 0ba55d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/types/api.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import type { HypercertMetadata } from "@hypercerts-org/sdk";
22

3+
/*
4+
* The types in this file somewhat replicate the zod schemas we use in our controllers.
5+
* Currently tsoa doesn't work with zod inferred types.
6+
* See https://github.com/lukeautry/tsoa/issues/1256.
7+
*/
8+
39
/**
410
* Interface for storing metadata on IPFS.
511
*/

0 commit comments

Comments
 (0)