Commit 34a0029
committed
refactor(api): adapt GET /data to use native document query
- Rewrites the `_handleGet` method in the collection route handler
to accept a single, JSON-encoded `filter` parameter.
- Removes the complex logic for translating individual URL parameters
into a query map.
- Eliminates the `_camelToSnake` helper, as the API now passes
native model field names to the data layer.
- This change simplifies the API handler and aligns it with a
document-native query model, making it more flexible and robust.1 parent cc9d32f commit 34a0029
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments