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

fix: ignore $type field in DeepPartial #282

Merged
merged 2 commits into from
Apr 23, 2021

Conversation

aikoven
Copy link
Collaborator

@aikoven aikoven commented Apr 23, 2021

This enables using fromPartial with objects of different but structurally equivalent types.

@stephenh
Copy link
Owner

Nice!

@stephenh stephenh merged commit 6c5087e into stephenh:main Apr 23, 2021
stephenh pushed a commit that referenced this pull request Apr 23, 2021
## [1.79.4](v1.79.3...v1.79.4) (2021-04-23)

### Bug Fixes

* ignore `$type` field in `DeepPartial` ([#282](#282)) ([6c5087e](6c5087e))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.79.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@aikoven aikoven deleted the ignore-type-in-deep-partial branch June 4, 2021 03:40
zfy0701 added a commit to sentioxyz/ts-proto that referenced this pull request Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants