-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle null runtime values in InputMap/List cast (#459)
Fixes #456 This is a bit of a sad fix but `InputMap` used to tolerate the implicit cast from dictionary being called with null by just passing that null down. If you tried to call Add or enumerate it would NRE, but if it just got assigned to another resource property the serialiser could handle it. #449 broke this because it always tried to enumerate the incoming immutable dictionary to build the new internal nested immutable dictionary. This fixes it to behave as before were null flows through as null.
- Loading branch information
Showing
5 changed files
with
71 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
component: sdk | ||
kind: bug-fixes | ||
body: Handle null in InputMap/List implicit conversions | ||
time: 2025-02-12T16:47:02.408546Z | ||
custom: | ||
PR: "459" |
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
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