cd /news/developer-tools/the-power-of-graphql-without-graphql · home › topics › developer-tools › article
[ARTICLE · art-175092] src=cobalt27.dev ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

The Power of GraphQL, Without GraphQL

A framework called COBALT has been introduced to let developers build GraphQL-style APIs directly from TypeScript, inferring the schema and generating a typed SDK without hand-written GraphQL schemas, resolvers, or client-side codegen steps. COBALT's pitch positions it between tRPC and GraphQL: it claims tRPC's iteration speed and GraphQL's flexibility while avoiding REST's endpoint sprawl and over-fetching, GraphQL's double declaration of TypeScript interface plus schema plus resolver, and tRPC's coupling that leaks backend logic into the client bundle. The framework also markets dense, collocated code as reducing context-window footprint for LLM-assisted development and lowering token costs.

key takeaway

COBALT infers the GraphQL schema from TypeScript code and generates a fully typed SDK, eliminating separate schema files, resolvers, and client-side codegen watchers.

read2 min views4 publishedNov 24, 2026
The Power of GraphQL, Without GraphQL
Image: source

The Power of GraphQL, without GraphQL.

The last framework that actually makes sense, in the age of AI.

Why Cobalt? #

It's simple and powerful.

It extends GraphQL but doesn't force you to use it manually.

You get the iteration speed of tRPC and the flexibility of GraphQL. This way you're not sacrificing your ability to craft complex & optimized GraphQL schemas for initial speed.

You can refine your API at every stage, without collecting dangerous tech debt.

Why not REST?

Endpoint Fatigue & Over-fetching

Managing hundreds of endpoints creates a maintenance nightmare. You fetch huge JSON blobs just to display a username.

The Cobalt Solution

One smart endpoint. The client specifies exactly what data it needs. The GraphQL feature everyone loves.

Why not pure GraphQL?

The Double Declaration Problem

You write a TypeScript interface. Then you write a GraphQL Schema. Then you write a Resolver. If they drift, your app crashes.

The Cobalt Solution

Single source of truth. Your TypeScript code IS your schema. No client-side codegen steps or schema sync required.

Why not tRPC?

Tight Coupling Trap

Great for monoliths, but your backend logic leaks into your client bundle. Scaling to microservices or exposing a public API later becomes a rewrite.

The Cobalt Solution

Loose coupling, magnetic types. The schema is the contract. You can move fast AND scale to complex backends.

The Cobalt Way

Magnetic Type Safety

Define your logic once. The Schema is inferred. The SDK is generated. The types are magnetically bonded across the network boundary.

The Cobalt Solution

The best of all worlds. The speed of tRPC, the flexibility of GraphQL, and the simplicity of REST.

Hate Typing? #

Thirsty LLM?

Less is more.

A codebase that is fun to work with.

No Boilerplate

Stop writing glue code

Traditional frameworks require Controllers, manual serialization, and Service layers just to move data.

The Cobalt Solution

Write your logic. Cobalt generates the transport layer. No routers, no adapters, no manual schemas.

LLM Friendly

Context Rot

LLMs struggle with large, scattered codebases. Providing context across 50 files degrades performance and increases cost.

The Cobalt Solution

Dense, collocated code. Smaller context window footprint means smarter AI assistance and lower token costs.

Zero-Config SDK

Typed SDKs for free

Writing GraphQL queries manually is tedious and error-prone. Cobalt gives you a fully typed SDK out of the box.

The Cobalt Solution

sdk.query.user({ id })() - Autocomplete your entire backend, as if it was local code. No graphql tags, no codegen watchers.

── more in #developer-tools 4 stories · sorted by recency
── more on @cobalt 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-power-of-graphql…] indexed:0 read:2min 2026-11-24 · —