SShortSingh.
Back to feed

Does `httpResource` cost you bundle size? I measured four Angular API generators

0
·1 views

I maintain @constantant/openapi-resource-gen, InjectionToken per OpenAPI endpoint, each in its own file, so that Spec: the YouTube Data API v3 (76 endpoints). A minimal Angular 22 app that bootstraps and calls 1 endpoint, then 8 endpoints, built for production with the esbuild application builder. Contenders, each generating from the same spec with default-ish settings: this project (both its httpResource and its HttpClient flavours), Orval 8 (angular client, tags-split), ng-openapi-gen 1.1, Hey API's client-angular. Two controls, so every row can be read against what Angular itself costs: a p

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to scrape product prices, stock and GTIN from any online store

You have a list of product pages from competitors, suppliers or resellers, and you need the price, the stock status and the barcode for each one in a spreadsheet. Copying them by hand works for ten products and falls apart at five hundred. Writing a scraper per store is worse, because every store lays out its pages differently. There is a shortcut. Most online stores already publish their product data in a machine readable form (Schema.org product markup and Open Graph product tags), because search engines and social previews need it.

0
ProgrammingDEV Community ·

How I Fixed My Drawing Tablet by Patching systemd's Hardware Database

I decided to take a break from tech and try my hands with something new, like digital art. So I fished out my drawing tablet from the bottom of the cupboard (it had been lying there collecting dirt for years). Naturally, my Linux config started out by rejecting it. I wanted to draw on Krita, so I connected the tablet to my laptop via USB. The lights on the tablet turned on, and I naively assumed that it was a good sign.

0
ProgrammingDEV Community ·

From APIs to AI Agents: How My Skills Apply to Today’s Software World

I’ve spent the past few years learning by building. Rather than limiting myself to one area of software development, I’ve explored backend engineering, frontend development, APIs, databases, cloud deployment, automation, AI agents, and cybersecurity. What I’ve realized is that these skills are becoming increasingly interconnected. Today, building a useful application isn't just about writing code. It can involve designing an API, creating a user interface, connecting databases, deploying to the cloud, automating repetitive processes, and increasingly, integrating AI into the workflow.