Commit 781c606
committed
fix(relationship.schema): replace .transform with .check
- transform was returning a JSON object rather than self (the zod schema)
- this breaks downstream extensions of the relationship schema
- replacing with check maintains functionality but ensures the schema is returned1 parent d9c0cbf commit 781c606
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
| 311 | + | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
0 commit comments