Code sanity fixes, added middlewares
Some checks failed
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled

This commit is contained in:
Hein
2025-12-08 08:28:43 +02:00
parent 2442589982
commit b741958895
19 changed files with 1911 additions and 94 deletions

24
todo.md
View File

@@ -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