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(typia-validator): support typia http module #888

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

miyaji255
Copy link
Contributor

  • Added HTTP Module Support: Enables handling of number, boolean, and bigint types in query parameters and headers by integrating the HTTP module. This enhancement allows for more robust and type-safe data validation within requests.
  • Updated typia Peer Dependencies: Increased the required typia version to 7.0.0 or higher. This update is necessary to utilize the IReadableURLSearchParams interface, which is available starting from version 7, ensuring compatibility and leveraging the latest features of typia.

Copy link

changeset-bot bot commented Dec 14, 2024

🦋 Changeset detected

Latest commit: 4f068df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hono/typia-validator Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yusukebe yusukebe changed the title feature(typia-validator): support typia http module feat(typia-validator): support typia http module Dec 15, 2024
@yusukebe
Copy link
Member

Hi @miyaji255

Thank you for the PR! It's very cool that Typia can convert TypeScript types to JavaScript code for validations. Looks good! I'll merge it and release the new version.

@yusukebe yusukebe merged commit c63470e into honojs:main Dec 15, 2024
1 check passed
@miyaji255 miyaji255 deleted the add/typia-validator-http branch December 15, 2024 09:55
@github-actions github-actions bot mentioned this pull request Dec 15, 2024
askorupskyy pushed a commit to askorupskyy/hono-middleware that referenced this pull request Dec 18, 2024
* feature(typia-validator): support typia http module

* feature(typia-validator): add change-set & update README
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.

2 participants