Commit db10b9d
faresrafat3
fix(l2): _route_experts accepts ProjectSpec OR raw domain value
The test fixture calls _route_experts(dummy_spec.domain.value),
passing a bare string. The previous fix only handled ProjectSpec
inputs. Now:
- if arg has .domain, use it (ProjectSpec)
- otherwise treat arg as the domain value
- if it has .value, unwrap (enum)
Same routing logic, three input shapes supported.1 parent 893320a commit db10b9d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
0 commit comments