-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.x] Make sure copy_to accepts null values (#76770)
In #72820 we improved the error message when attempting to `copy_to` with an object value. The change accidentally started throwing errors for null values too, although they're allowed. This PR fixes the regression and adds an explicit test for `copy_to` with null values.
- Loading branch information
1 parent
bd038d7
commit f7cb1d4
Showing
2 changed files
with
27 additions
and
1 deletion.
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