Story

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

TechHacker NewsFiled 7 h ago

Cobalt — GraphQL from TypeScript, without writing GraphQL

Open the sourceReported by Hacker News, cobalt27.dev, 24 November 2026

Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.

Cobalt has launched as a new open-source GraphQL framework that generates a GraphQL schema directly from TypeScript server code, eliminating the need for separate schema files, resolvers, or client-side codegen. The project, which markets itself as dependency-free, lets developers write typed functions such as a Prisma-backed comment mutation and exposes them through a single smart endpoint where clients specify exactly which fields they need, avoiding the endpoint sprawl and over-fetching of REST-style APIs. Cobalt positions itself between tRPC's iteration speed and GraphQL's query flexibility, arguing that tRPC's tight coupling leaks backend logic into client bundles and complicates scaling to microservices or public APIs. The framework treats the TypeScript-derived schema as a contract, allowing teams to refine their API without accumulating tech debt. It matters because it targets the double-declaration and schema-drift problems that have long slowed GraphQL adoption in TypeScript shops. Next, watch whether Cobalt attracts contributors and production users, and whether its single-endpoint model holds up under complex, optimized schemas.

Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.

Named in this story

Cobalt, GraphQL, TypeScript, tRPC