GitShow/mattpocock/zod-fetch
mattpocock

zod-fetch

Simple function for building a type-safe fetcher with Zod

by mattpocock
Star on GitHubForknpm

TypeScript

696 stars15 forks4 contributorsQuiet · 3y agoSince 2023v0.1.1

Meet the team

See all 4 on GitHub →
mattpocock
mattpocock17 contributions
github-actions[bot]Bot
github-actions[bot]2 contributions
unrevised6419
unrevised64191 contribution
cthogg
cthogg1 contribution

Languages

View on GitHub →
TypeScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 in progress · Last activity 3y ago
See all on GitHub →
rmkane
Modernize Zod Fetch for use with Zod v4 and TypeScript v5OpenPR

Updated all dependencies to latest: Package Required Code Changes ✅ Changed → , and used directly from ✅ Adjusted test assertion to match updated and issues output ✅ Minor assertion syntax changes (e.g. instead of direct shape matching) ✅ No changes needed in code or config ✅ No source/test changes required ✅ No source/test changes required Related to #15 Here is an exampel of it in use:

rmkane · 11mo ago
rmkane
Add support for Zod v4OpenIssue

Add support for Zod v4

rmkane · 1y ago
fabb
allow to use default fetcher for requests that return an empty responseOpenPR

fixed #11

fabb · 1y ago

Recent fixes

View closed PRs →
pablojsx
Type error: Cannot find module 'zod-fetch'ClosedIssue

I'm just learning Next but I have a clean T3 app running here: https://t3-tests.vercel.app/ I just did a simple fetch inside a component and it worked fine then did a deploy and got an error: The fetch: Thanks for the help!

pablojsx · 3y ago
csulit
Input type is different with the responseClosedIssue

What if the input type is different from the response?? What is the best approach?

csulit · 3y ago
Structured data for AI agents

Repository: mattpocock/zod-fetch. Description: Simple function for building a type-safe fetcher with Zod Stars: 696, Forks: 15. Primary language: TypeScript. Languages: TypeScript (100%). Latest release: v0.1.1 (3y ago). Open PRs: 2, open issues: 4. Last activity: 3y ago. Community health: 28%. Top contributors: mattpocock, github-actions[bot], unrevised6419, cthogg.

·@ofershap

Replace github.com with gitshow.dev