express migration plan
This repo becomes the native source of truth for @tsonic/express.
Principles
- Keep host substrate thin.
- Move library behavior into native source.
- Port the current
earlier C# baselinetests as the baseline. - Add broader tests for any current best-effort or simplified behavior.
Initial migration slices
- Router / route / middleware pipeline
- Application settings, mount behavior, template engine hooks
- Request / response shaping that does not depend on host transport internals
- Built-in middleware and multipart
- Host substrate adapters (
listen, transport request/response, file send)
Current port status
- Started:
- router
- route chaining
- param handling
- application settings and mount events
- core response helpers (
status,set,send,cookie,render,jsonp)
- Not started:
- host listen/runtime substrate
- built-in body parsers
- static files
- multipart
- full request API surface
Existing baseline test sources
earlier C# baseline/tests/express.Tests/runtime/application.runtime.tests.csearlier C# baseline/tests/express.Tests/runtime/router.runtime.tests.csearlier C# baseline/tests/express.Tests/runtime/params.runtime.tests.csearlier C# baseline/tests/express.Tests/runtime/middleware.runtime.tests.csearlier C# baseline/tests/express.Tests/runtime/request.response.runtime.tests.csearlier C# baseline/tests/express.Tests/runtime/coverage.matrix.*.cs