Commit 2dee11d
committed
refactor: update API endpoint paths and improve response handling
- Changed endpoint paths in DataController for better clarity and consistency:
- Updated query endpoint from ':table/query' to 'query/:table'
- Updated insert endpoint from ':table' to 'create/:table'
- Updated update endpoint from ':table' to 'update/:table/:id'
- Updated delete endpoint from ':table/:id' to 'del/:table/:id'
- Updated advanceUpdate and advanceDelete endpoints to include table name in the body.
- Modified response handling in integration-test server to use spread operator with sanitize function for better response formatting.
- Added TODO comments in KyselyQueryHandler for unresolved issues with query handling.1 parent c403c9d commit 2dee11d
4 files changed
Lines changed: 725 additions & 666 deletions
File tree
- apps/integration-test/src
- packages
- api/src/core/nest/controllers
- database/src/sdk
0 commit comments