Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #15211

Summary

Our TypeScript subdocs documentation uses Types.Subdocument<> for defining hydrated subdoc type override, which is incorrect, doesn't include any schema properties.

Examples

@hasezoey hasezoey added docs This issue is due to a mistake or omission in the mongoosejs.com documentation typescript Types or Types-test related issue / Pull Request labels Feb 8, 2025
@vkarpov15 vkarpov15 added this to the 8.10.1 milestone Feb 8, 2025
@vkarpov15 vkarpov15 merged commit 6838d48 into master Feb 8, 2025
3 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-15211 branch February 8, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs This issue is due to a mistake or omission in the mongoosejs.com documentation typescript Types or Types-test related issue / Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subdocument type is broken?

3 participants