{
  "id": 22154254,
  "title": "NestJS platform-node (12.3): The Adapter That Reorders Your Routes",
  "url": "https://urgent.news/2026/11/27/nestjs-platform-node-12-3-the-adapter-that-reorders-your-routes",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T11:30:38.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/parsajiravand/nestjs-platform-node-123-the-adapter-that-reorders-your-routes-5amf"
  },
  "original_language": "en",
  "account": "A team upgraded @nestjs/core, replacing NestFactory.create(AppModule) with NestFactory.create(AppModule, new NodeAdapter()). This new, Express-free HTTP adapter, @nestjs/platform-node, was measured to improve throughput by ~50% compared to Express. However, after the upgrade, a request to /users/Me, which was previously returning the profile, started returning 404. The issue wasn't routing or controller changes; it was the adapter enforcing a case-sensitive routing behavior Express didn't have.\n\n@nestjs/platform-node is introduced in NestJS 12.3.0, with its own unique assumptions about routing compared to Express. This article explains how the new adapter matches routes, the case-sensitivity trap, and whether adopting it is beneficial before it becomes the default in v13.",
  "summary": "A team upgrades @nestjs/core and swaps NestFactory.create(AppModule) for NestFactory.create(AppModule, new NodeAdapter()) — NestJS's brand-new, Express-free HTTP adapter, chasing the ~50% throughput bump its author measured against Express. Everything passes locally. In production, a request to /users/Me — a stray capital from an old mobile build nobody's shipped in a year — starts returning 404…",
  "key_points": [
    "@nestjs/core upgraded, replacing create(AppModule) with create(AppModule, new NodeAdapter())",
    "New NodeAdapter improves throughput by ~50% compared to Express",
    "Adapter enforces case-sensitive routing, causing /users/Me to return 404"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}