feat(medusa): support file based routing (#5365)
* feat(medusa): Implement file base routing mechanism * cleanup * cleanup and improvements * improve tests * update tests * Create tame-trains-grin.md * fix tests, move fixtures * fix tests * lint * init work * work on supported methods * add config generator * progress * progress * rework middleware registartion * progress * progress * export MiddlewareConfig type * add type extensions * work on improving logs * work on loggers * apply cors, json parsing, and admin authentication per default * address feedback * rm changeset --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
49ed7de752
commit
ddff919655
5
.changeset/long-wasps-mix.md
Normal file
5
.changeset/long-wasps-mix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
feat(medusa): Introduces a new file based routing system as an alternative to the current approach. File based routing is optional, and the previous approach can still be used. The two approaches can also be used together allowing for incremental adoption.
|
||||
Reference in New Issue
Block a user