summaryrefslogtreecommitdiff
path: root/examples/framework-react
diff options
context:
space:
mode:
authorGravatar Louis Escher <66965600+louisescher@users.noreply.github.com> 2025-01-22 22:05:36 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-22 21:05:36 +0000
commit8f520f1cc67db51feb966c710e72490a05b88954 (patch)
treea0eec16b78654a5df7518abbf12093f83dfa62fc /examples/framework-react
parentd5fb7a34eafa3c0824f1e66b58b2b1e2cd3878ee (diff)
downloadastro-8f520f1cc67db51feb966c710e72490a05b88954.tar.gz
astro-8f520f1cc67db51feb966c710e72490a05b88954.tar.zst
astro-8f520f1cc67db51feb966c710e72490a05b88954.zip
Improve errors for invalid IDs in content collections (#12892)
* Improve error handling for content collection entries where ID isn't a string * Add passthrough to zod schema to still access other properties after validation * Add new test for numbers as IDs, add changeset * Update error for invalid IDs * Update test for new error message * Update .changeset/dry-dragons-shout.md Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * Update errors-data.ts to (possibly) fix tests failing * Update errors-data.ts --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: Matt Kane <m@mk.gg>
Diffstat (limited to 'examples/framework-react')
0 files changed, 0 insertions, 0 deletions