Menu

#Decorator

11 posts

Feed·
9 of 11 posts
TypeScript `emitDecoratorMetadata` Is Dead in 2026: What Replaces It for DI Frameworks and ORMs
🖼️
0Read More

TypeScript `emitDecoratorMetadata` Is Dead in 2026: What Replaces It for DI Frameworks and ORMs

DEV Community: javascript·jsmanifest·8 days ago
#w1FL1O8R
#devtojavascript#devto#dev#decorators#type

The emitDecoratorMetadata flag no longer works with standard decorators. Teams running NestJS, TypeORM, and InversifyJS face a choice between legacy mode and manual metadata patterns.

15s
0Read More

Every refactor in our NestJS repo turns into fixing u/Traced decorators

Reddit r/typescript·u/Hour-Librarian3622·about 1 month ago
#1o6xsz4H
#every#traced#decorator#refactor#nestjs

NestJS monorepo, eleven services. Two years ago we wrote a `@Traced()` decorator that wraps every service method in an OpenTelemetry span, plus a typed helper so attribute names come from one union type and nobody writes `userId` in one place and…

15s
Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps
📰
0Read More

Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps

DEV Community·ANKUSH CHOUDHARY JOHAL·7 months ago
#P2yWlmje
#typescript#deep#dive#decorators#next

From Dev.to - typescript: Deep Dive: How TypeScript 5.5's New Decorators Work and Why They Improve Code Maintainability for Next.js 16 Apps

15s
5 Powerful Python Decorators to Build Clean AI Code - KDnuggets
📰
0Read More

5 Powerful Python Decorators to Build Clean AI Code - KDnuggets

KDnuggets·7 months ago
#XKnHduqc

This article outlines five particularly useful Python decorators that, based on developers' experience, haven proven themselves effective to make AI code cleaner.

15s
Build a Logger and Validator with TypeScript Decorators (Like NestJS)
📰
0Read More

Build a Logger and Validator with TypeScript Decorators (Like NestJS)

DEV Community·Malloc72P·8 months ago
#awl2CNMO
#webdev#typescript#decorator#nestjs#software

Note: This post is a translated version of an article originally published on my personal blog. You can read the original Korean post here. Decorators are a metaprogramming syntax that lets you attach metadata — or extend behavior — on classes, methods,…

15s
Python Decorators for Production Machine Learning Engineering - MachineLearningMastery.com
📰
0Read More

Python Decorators for Production Machine Learning Engineering - MachineLearningMastery.com

MachineLearningMastery.com·Nahla Davies·8 months ago
#HaH2kATV
#respond#header#navigation#decorator#memory

In this article, you will learn how to use Python decorators to improve the reliability, observability, and efficiency of machine learning systems in production.

15s