---
title: "Ivan Ivan (@retouch) | Hashnode"
description: "Ivan Ivan (@retouch) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@retouch"
---

@retouch

# Ivan Ivan

@retouch · Joined January 2025

## Comments

[Hello, how about dto? what if we want some properties to be required and others to be optional, how do we validate them with class-validator etc?](https://hashnode.com/posts/enhancing-code-reusability-with-nestjs-abstract-repository-pattern-best-practices-and-examples/64f12b5d8e6a4ae79ac5511f/comment/678770f92f84406d23f4784a)

Comment · Article · Jan 15, 2025 · [Enhancing Code Reusability with NestJS Abstract Repository Pattern Best Practices and Examples](https://hashnode.com/posts/enhancing-code-reusability-with-nestjs-abstract-repository-pattern-best-practices-and-examples/64f12b5d8e6a4ae79ac5511f)

[Can't understand how it should work with create method, if in different entities we have different implementation, different calculations, somewhere need to use transactions etc...](https://hashnode.com/posts/enhancing-code-reusability-with-nestjs-abstract-repository-pattern-best-practices-and-examples/64f12b5d8e6a4ae79ac5511f/comment/6786c2273e522f3ace453b6a)

Comment · Article · Jan 14, 2025 · [Enhancing Code Reusability with NestJS Abstract Repository Pattern Best Practices and Examples](https://hashnode.com/posts/enhancing-code-reusability-with-nestjs-abstract-repository-pattern-best-practices-and-examples/64f12b5d8e6a4ae79ac5511f)
