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

feat(hono/context): contentful status code typing #3763

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

askorupskyy
Copy link

@askorupskyy askorupskyy commented Dec 22, 2024

Contentful status code

Resolves #1518

All in all, prohibits returning c.json() or c.text() or c.html() with 101, 204, 205, and 304 status codes.

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@askorupskyy askorupskyy force-pushed the feat/contenful-status-code-typing branch from 993739f to b15db32 Compare December 22, 2024 06:29
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.

Cannot response HTTP code 204 when using context.json()
1 participant