mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 01:11:38 -05:00
[PR #2562] [MERGED] fix(zod): Add openapi call after catch #4974
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2562
Author: @LaurenceJJones
Created: 2/28/2026
Status: ✅ Merged
Merged: 2/28/2026
Merged by: @oschwartz10612
Base:
main← Head:fix/zod-openapi-catch-error📝 Commits (1)
b0a34fafix(openapi): Add openapi call after catch📊 Changes
1 file changed (+12 additions, -1 deletions)
View changed files
📝
server/routers/siteResource/listSiteResources.ts(+12 -1)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
fix: #2561
without making an explicit call to openapi a runtime error happens because it cannot infer a catch (UnknownZodTypeError), the call to openapi is the same across the codebase
How to test?
Calls to the integration api should succeed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.