Commit 877f769
Fix InvalidCastException in InMemoryCacheClient.GetAsync<object>() for non-IConvertible types (#468)
* Initial plan
* Fix InvalidCastException in GetValue<object>() for non-IConvertible types
Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com>
* Extend test to cover CloneValues=true scenario
Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ejsmith <282584+ejsmith@users.noreply.github.com>1 parent 6c6608c commit 877f769
File tree
2 files changed
+20
-1
lines changed- src/Foundatio/Caching
- tests/Foundatio.Tests/Caching
2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | | - | |
| 1770 | + | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| |||
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
1599 | 1618 | | |
1600 | 1619 | | |
1601 | 1620 | | |
| |||
0 commit comments