Commit b9e8c25
refactor: address code review feedback for client route type safety
- Replace 'type in routes' guard with direct property access + truthiness check
- Remove unnecessary 'as string' type assertion
- Add comments clarifying discovered vs client-specific route handling
Agent-Logs-Url: https://github.com/objectstack-ai/spec/sessions/283e383b-284b-40fe-af98-c11f61a4c8a8
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>1 parent f08ffc3 commit b9e8c25
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1686 | 1686 | | |
1687 | 1687 | | |
1688 | 1688 | | |
1689 | | - | |
| 1689 | + | |
1690 | 1690 | | |
1691 | | - | |
1692 | | - | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
1693 | 1695 | | |
1694 | 1696 | | |
1695 | | - | |
| 1697 | + | |
1696 | 1698 | | |
1697 | 1699 | | |
1698 | 1700 | | |
| |||
0 commit comments