---
title: "Ernesto Yanac Huertas (@ErnestoYanac) | Hashnode"
description: "Fullstack developer. Read the latest articles by Ernesto Yanac Huertas on Hashnode."
url: "https://hashnode.com/@ErnestoYanac"
---

@ErnestoYanac

# Ernesto Yanac Huertas

@ErnestoYanac · Mallorca, Spain · Joined March 2023

Fullstack developer

[Website](https://appeiron.tech/)

### [NestJS Custom Decorators and Pipes: Stop Sending Context in Query Params](https://ernestoyanac.com/nestjs-custom-decorator-async-pipe-request-context?utm_source=hashnode&utm_medium=feed)

A senior pattern for resolving request-scoped data server-side with createParamDecorator, async pipes, and one composed decorator

9 min read · [ernestoyanac.com](https://ernestoyanac.com/nestjs-custom-decorator-async-pipe-request-context?utm_source=hashnode&utm_medium=feed)

[Jul 25](https://hashnode.com/posts/nestjs-custom-decorator-async-pipe-request-context/6a6484d4115d7c0bbe052e4c)

### [How to Implement Idempotency in a NestJS + PostgreSQL Stack (Without Losing Sleep Over Duplicate Requests)](https://ernestoyanac.com/how-to-implement-idempotency-in-a-nestjs-postgresql-stack-without-losing-sleep-over-duplicate-requests?utm_source=hashnode&utm_medium=feed)

A practical guide to implementing idempotency in a Vue + NestJS + PostgreSQL stack using idempotency keys, a custom Guard, and raw SQL — no ORM required.

5 min read · [ernestoyanac.com](https://ernestoyanac.com/how-to-implement-idempotency-in-a-nestjs-postgresql-stack-without-losing-sleep-over-duplicate-requests?utm_source=hashnode&utm_medium=feed)

[May 23](https://hashnode.com/posts/how-to-implement-idempotency-in-a-nestjs-postgresql-stack-without-losing-sleep-over-duplicate-requests/6a116d411a3cf7bffcfbcb1f)

### [Updating multiple MongoDB documents - NodeJS: A BulkWrite Journey](https://ernestoyanac.com/updating-multiple-mongodb-documents-nodejs-bulkwrite?utm_source=hashnode&utm_medium=feed)

Learn how to efficiently update existing MongoDB documents using MongoDB's bulkWrite function for performance and consistency

3 min read · [ernestoyanac.com](https://ernestoyanac.com/updating-multiple-mongodb-documents-nodejs-bulkwrite?utm_source=hashnode&utm_medium=feed)

[Jul 13, 2024](https://hashnode.com/posts/updating-multiple-mongodb-documents-nodejs-bulkwrite/66927b0c907078fbc324aa7f)

### [BulkWrite vs. Iterative Updates](https://ernestoyanac.com/bulkwrite-vs-iterative-updates?utm_source=hashnode&utm_medium=feed)

A MongoDB Efficiency Showdown

2 min read · [ernestoyanac.com](https://ernestoyanac.com/bulkwrite-vs-iterative-updates?utm_source=hashnode&utm_medium=feed)

[Jul 13, 2024](https://hashnode.com/posts/bulkwrite-vs-iterative-updates/6692773fc352259811813be5)

### [Dynamic Slot Names: A Cool Way to Make Your Vue Components More Flexible](https://ernestoyanac.com/vue-dynamic-slot-names?utm_source=hashnode&utm_medium=feed)

Dynamic slot names in Vue are a powerful way to create reusable, flexible, and interactive components. Learn how to use dynamic slot names

3 min read · [ernestoyanac.com](https://ernestoyanac.com/vue-dynamic-slot-names?utm_source=hashnode&utm_medium=feed)

[Oct 26, 2023](https://hashnode.com/posts/vue-dynamic-slot-names/653ace1a8ce2b086864805c5)
