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

jsdocs #73

Merged
merged 4 commits into from
Dec 10, 2021
Merged

jsdocs #73

merged 4 commits into from
Dec 10, 2021

Conversation

francescov1
Copy link
Owner

@francescov1 francescov1 commented Oct 3, 2021

Detects JSDocs in Mongoose schemas and adds them to the generated TS types. Currently this will parse comments up to a depth of 2 levels. If we find that this does not suffice all users then we can add a CLI option to let the user pass a custom value.

Tests currently failing due to a Mongoose bug which should be fixed in the next release (6.0.13) 6.0.13 was still missing one small type fix, a PR has been made here to address this. Once this is released, tests will pass on this PR and it can be merged.

Closes #13

@francescov1 francescov1 merged commit 83c8d4b into master Dec 10, 2021
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.

Transfer JSDoc from model files to generated interfaces
1 participant