Commit 060b28b
refactor: Rename fetch wrapper to middleware pattern
- Rename FetchWrapper type to FetchMiddleware for clarity
- Rename withWrappers() to applyMiddleware() following standard middleware patterns
- Update parameter names from 'fetch' to 'next' aligning with middleware conventions
- Update all test names and variables to use middleware terminology
- Add deprecation aliases for backward compatibility
This change makes the middleware pattern more recognizable to developers familiar with standard middleware systems like Express, Redux, etc.1 parent 33bea28 commit 060b28b
2 files changed
Lines changed: 128 additions & 114 deletions
0 commit comments