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: add fastify plugin #1216

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jacobinu
Copy link
Collaborator

@jacobinu jacobinu commented Oct 30, 2024

#1215

This pull request

  • moves schemaToType to plugins utils from hey-api/types
  • adds fastify plugin

Copy link

stackblitz bot commented Oct 30, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Oct 30, 2024

🦋 Changeset detected

Latest commit: c990fa2

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

This PR includes changesets to release 1 package
Name Type
@hey-api/openapi-ts 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

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hey-api-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 4:44am

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

Attention: Patch coverage is 63.04348% with 357 lines in your changes missing coverage. Please review.

Project coverage is 72.68%. Comparing base (13e0065) to head (7bed485).

Files with missing lines Patch % Lines
packages/openapi-ts/src/plugins/utils/types.ts 70.31% 206 Missing ⚠️
packages/openapi-ts/src/plugins/fastify/plugin.ts 20.78% 141 Missing ⚠️
...napi-ts/src/plugins/@tanstack/query-core/plugin.ts 30.00% 7 Missing ⚠️
packages/openapi-ts/src/plugins/fastify/config.ts 83.33% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1216      +/-   ##
==========================================
- Coverage   73.15%   72.68%   -0.48%     
==========================================
  Files         125      129       +4     
  Lines       17662    17890     +228     
  Branches     1732     1733       +1     
==========================================
+ Hits        12921    13003      +82     
- Misses       4738     4884     +146     
  Partials        3        3              
Flag Coverage Δ
unittests 72.68% <63.04%> (-0.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

pkg-pr-new bot commented Oct 31, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@hey-api/client-axios@1216
pnpm add https://pkg.pr.new/@hey-api/client-fetch@1216
pnpm add https://pkg.pr.new/@hey-api/openapi-ts@1216

commit: 7bed485

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