Commit 651abfb
Address PR review feedback: guard against error values from getDefaultValue
- Add error type check to prevent getDefaultValue returning a raw error
from corrupting state via resource.NewPropertyValue
- Rephrase test comments to describe invariants instead of referencing
issue numbers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 60ce245 commit 651abfb
2 files changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2000 | 2000 | | |
2001 | 2001 | | |
2002 | 2002 | | |
2003 | | - | |
| 2003 | + | |
2004 | 2004 | | |
2005 | 2005 | | |
2006 | 2006 | | |
| |||
2013 | 2013 | | |
2014 | 2014 | | |
2015 | 2015 | | |
2016 | | - | |
2017 | | - | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
2018 | 2022 | | |
2019 | 2023 | | |
2020 | 2024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2717 | 2717 | | |
2718 | 2718 | | |
2719 | 2719 | | |
2720 | | - | |
2721 | | - | |
2722 | | - | |
| 2720 | + | |
| 2721 | + | |
2723 | 2722 | | |
2724 | 2723 | | |
2725 | 2724 | | |
| |||
2792 | 2791 | | |
2793 | 2792 | | |
2794 | 2793 | | |
2795 | | - | |
2796 | | - | |
| 2794 | + | |
| 2795 | + | |
2797 | 2796 | | |
2798 | 2797 | | |
2799 | 2798 | | |
| |||
3657 | 3656 | | |
3658 | 3657 | | |
3659 | 3658 | | |
3660 | | - | |
3661 | | - | |
3662 | | - | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
3663 | 3662 | | |
3664 | 3663 | | |
3665 | 3664 | | |
| |||
0 commit comments