UNPKG

@nicheeeer/prisma-transaction

Version:

## Introduction `prisma-transaction` is a library that provides a simple way to use transactions in Prisma within NestJS using decorators. \ It simplifies handling transactions and ensures consistency across services by utilizing `AsyncLocalStorage` to m

11 lines 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.copyMethodMetadata = copyMethodMetadata; function copyMethodMetadata(from, to) { const metadataKeys = Reflect.getMetadataKeys(from); metadataKeys.map((key) => { const value = Reflect.getMetadata(key, from); Reflect.defineMetadata(key, value, to); }); } //# sourceMappingURL=copy-metadata.js.map