Skip to content

Commit cc9d32f

Browse files
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 ea709e9 commit cc9d32f

File tree

1 file changed

+110
-484
lines changed

1 file changed

+110
-484
lines changed

0 commit comments

Comments
 (0)