0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00
astro/packages
Louis Escher 8f520f1cc6
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>
2025-01-22 21:05:36 +00:00
..
astro Improve errors for invalid IDs in content collections (#12892) 2025-01-22 21:05:36 +00:00
astro-prism [ci] release (#12567) 2024-12-03 10:56:34 +00:00
astro-rss fix(deps): update all non-major dependencies (#12579) 2025-01-13 23:59:09 +08:00
create-astro fix(deps): update all non-major dependencies (#12579) 2025-01-13 23:59:09 +08:00
db [ci] release (#12991) 2025-01-20 17:16:15 +00:00
integrations [ci] format 2025-01-22 07:47:27 +00:00
internal-helpers [ci] release (#12567) 2024-12-03 10:56:34 +00:00
markdown/remark fix(deps): update all non-major dependencies (#13008) 2025-01-20 15:38:35 +00:00
studio [ci] release (#12991) 2025-01-20 17:16:15 +00:00
telemetry fix(deps): update all non-major dependencies (#12579) 2025-01-13 23:59:09 +08:00
underscore-redirects [ci] release (#12919) 2025-01-09 09:46:30 +00:00
upgrade [ci] release (#12960) 2025-01-13 16:15:24 +01:00