Skip to content

Conversation

vkarpov15
Copy link
Collaborator

Fix #14793

Summary

As #14793 points out, HydratedSingleSubdocument and HydratedArraySubdocument need to use MergeTypes, otherwise we end up with hard to diagnose compiler errors stemming back to having RawType & HydratedType.

Examples

@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Aug 13, 2024
@vkarpov15 vkarpov15 added this to the 8.5.3 milestone Aug 13, 2024
@vkarpov15 vkarpov15 merged commit c3bd03e into master Aug 13, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14793 branch August 13, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intersection type error in embedded schema when iterating through an embedded array
2 participants