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

types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & #14800

Merged
merged 1 commit into from
Aug 13, 2024

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
5 checks passed
@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