Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fetch helpers #22

Merged
merged 45 commits into from
Dec 17, 2023
Merged

add fetch helpers #22

merged 45 commits into from
Dec 17, 2023

Conversation

ryanatkn
Copy link
Owner

@ryanatkn ryanatkn commented Dec 14, 2023

Factors out reusable helpers for fetching:

  • optional Zod schema parsing
  • optional cache (different from the browser cache, caller can serialize so e.g. dev setups can avoid hitting the network)
  • ratelimit handling

@ryanatkn ryanatkn marked this pull request as ready for review December 17, 2023 20:08
@ryanatkn ryanatkn merged commit a726d4e into main Dec 17, 2023
1 check passed
@ryanatkn ryanatkn deleted the add-request branch December 17, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant