From cbe45185ec3cb1c45110f0547986757511e2018a Mon Sep 17 00:00:00 2001 From: steebchen Date: Thu, 22 Feb 2024 01:43:29 +0700 Subject: [PATCH] feat(tpl): export Transaction type in client --- generator/templates/_header.gotpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/templates/_header.gotpl b/generator/templates/_header.gotpl index 72c06a427..c821cc308 100644 --- a/generator/templates/_header.gotpl +++ b/generator/templates/_header.gotpl @@ -30,6 +30,8 @@ var _ = os.DevNull // re-declare variables which are needed in Prisma Client Go but also should be exported // in the generated client +type Transaction = transaction.Transaction + const RFC3339Milli = types.RFC3339Milli type BatchResult = types.BatchResult