mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-03-07 05:58:55 +00:00
Code sanity fixes, added middlewares
This commit is contained in:
24
todo.md
24
todo.md
@@ -139,6 +139,28 @@ func (b *BunSelectQuery) Preload(relation string, conditions ...interface{}) com
|
||||
- Optimize recursive JSON cleaning for large payloads
|
||||
- Benchmark custom SQL join performance
|
||||
|
||||
|
||||
### 8.
|
||||
|
||||
1. **Test Coverage**: Increase from 20% to 70%+
|
||||
- Add integration tests for CRUD operations
|
||||
- Add unit tests for security providers
|
||||
- Add concurrency tests for model registry
|
||||
|
||||
2. **Security Enhancements**:
|
||||
- Add request size limits
|
||||
- Configure CORS properly
|
||||
- Implement input sanitization beyond SQL
|
||||
|
||||
3. **Configuration Management**:
|
||||
- Centralized config system
|
||||
- Environment-based configuration
|
||||
|
||||
4. **Graceful Shutdown**:
|
||||
- Implement shutdown coordination
|
||||
- Drain in-flight requests
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Priority Ranking
|
||||
@@ -156,4 +178,6 @@ func (b *BunSelectQuery) Preload(relation string, conditions ...interface{}) com
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
**Last Updated:** 2025-11-07
|
||||
|
||||
Reference in New Issue
Block a user