Commit 926cada
committed
fix: return null for id attribute when targeting key is absent
Per review feedback from dd-oleksii: when targeting key is null,
ResolveAttribute("id") should return null like any other missing
attribute, not throw MissingTargetingKeyException. The shard path
in GetShard() still correctly throws when targeting key is needed.1 parent 7865f8b commit 926cada
1 file changed
Lines changed: 0 additions & 5 deletions
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | 420 | | |
426 | 421 | | |
427 | 422 | | |
| |||
0 commit comments