Commit 292d5c8
committed
fix(api): provide model registry to root middleware
The generic data routes were failing with a "Bad state" error because the `ModelRegistryMap` was not being provided to the request context.
This change adds the `ModelRegistryMap` to the root middleware's dependency providers, making it available globally and resolving the error in the data route handlers.1 parent 757baa8 commit 292d5c8
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments