Skip to content

Commit

Permalink
Merge pull request #20 from medishen/dev/v2
Browse files Browse the repository at this point in the history
chore: remove old task and add new task and feature
  • Loading branch information
0xii00 authored Jan 22, 2025
2 parents 91f47e5 + 1099c8e commit d01c410
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,9 @@

### Input Validation

- [ ] Create a `@Validate` decorator for request validation.
- [ ] Implement validation rules for body, query, and headers.
- [ ] Support custom validation rules and error handling.

### CLI Tool

- [ ] Develop a CLI tool for scaffolding and server management.
- [ ] Add commands for generating controllers, middlewares, and modules.
- [ ] Include server start, stop, and monitoring capabilities.
- [ ] Add debugging tools to identify misconfigurations.
- [x] Create a `@Validate` decorator for request validation.
- [x] Implement validation rules for body, query, and headers.
- [x] Support custom validation rules and error handling.

### Global Guards

Expand All @@ -43,16 +36,15 @@
- [x] Support configurable `ttl` and custom cache stores.
- [x] Integrate with `@medishn/qiks` for advanced caching options.

### Event System

- [x] Enhance the built-in event system for route and application-level events.
- [x] Provide APIs for custom event handling.
### Phase 5: New Features

## Phase 5: Advanced Router Features
#### Error Management

- [ ] Implement request-response lifecycle hooks for extensibility.
- [ ] Introduce grouped routes with shared middleware and guards.
- [ ] Create a powerful and expressive query builder or ORM (optional).
- [ ] Design structured error objects.
- [ ] Enhance error middleware for async errors.
- [ ] Allow user-defined error handlers.
- [ ] Write tests for various error scenarios.
- [ ] Document custom error handling.

## Phase 6: Testing and Documentation

Expand Down

0 comments on commit d01c410

Please sign in to comment.