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 JSDoc @description support #194

Merged

Conversation

grrowl
Copy link
Contributor

@grrowl grrowl commented Jan 7, 2024

Why

Fixes #193 — now JSDoc @description tags are applied to the Zod schema via .describe()

Helps for when Zod schemas are flowing further downstream into JSONSchemas and such :)

@grrowl grrowl force-pushed the add-jsdoc-description-support branch from 0efbbde to 81fc78e Compare January 7, 2024 10:41
@schiller-manuel
Copy link
Collaborator

can you please update the documentation in README.md as well?

@grrowl
Copy link
Contributor Author

grrowl commented Jan 7, 2024

@schiller-manuel thanks for the quick review, have added to README and added functionality/coverage

@codecov-commenter
Copy link

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (54a1f23) 97.40% compared to head (ebd7f42) 96.89%.

Files Patch % Lines
src/core/jsDocTags.ts 50.00% 4 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #194      +/-   ##
==========================================
- Coverage   97.40%   96.89%   -0.52%     
==========================================
  Files          14       14              
  Lines         733      741       +8     
  Branches      304      309       +5     
==========================================
+ Hits          714      718       +4     
- Misses         19       23       +4     

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

@schiller-manuel schiller-manuel merged commit b3b3d11 into fabien0102:main Jan 7, 2024
2 of 4 checks passed
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.

Support JSDoc @description tags
3 participants