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
File tree
2 files changed
+128
-114
lines changed2 files changed
+128
-114
lines changed
0 commit comments