-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PreserveTypes behavior on non–nested data types
Restoring type shouldn't rely on stored argument (data). It should solely rely on type that was persisted in metadata. E.g. using OpenStruct for data failed before this change, see: #1334 (comment) As a sideeffect, two obsolete conditionals could be removed. Co-authored-by: Łukasz Reszke <[email protected]> Co-authored-by: Paweł Pacana <[email protected]>
- Loading branch information
1 parent
8b85a04
commit 3c5d928
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters