Skip to content

Conversation

@JavaScriptBach
Copy link
Contributor

Summary

Export an InferPojoType type alias that replicates the Mongoose 8 InferRawDocType behavior. This alias is useful for performing Mongoose's type inference on user-provided fields only.

Added tests.

Fixes #15814

@JavaScriptBach JavaScriptBach marked this pull request as ready for review November 29, 2025 01:31
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.

Export pre-Mongoose v9 behavior of InferRawDocType

1 participant