Skip to content

Commit e558159

Browse files
committed
Fixed gel container version in tests, fixed aws-data-api transactions RQBv2 not parsing JSON fields
1 parent d925f25 commit e558159

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

drizzle-orm/src/aws-data-api/pg/session.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ export class AwsDataApiSession<
331331
session,
332332
this.relations,
333333
this.schema,
334+
undefined,
335+
true,
334336
);
335337
if (config) {
336338
await tx.setTransaction(config);

drizzle-orm/src/pg-core/session.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,9 @@ export abstract class PgTransaction<
263263
tableNamesMap: Record<string, string>;
264264
} | undefined,
265265
protected readonly nestedIndex = 0,
266+
parseRqbJson?: boolean,
266267
) {
267-
super(dialect, session, relations, schema);
268+
super(dialect, session, relations, schema, parseRqbJson);
268269
}
269270

270271
rollback(): never {

integration-tests/tests/gel/createInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'zx/globals';
66
export async function createDockerDB(): Promise<{ connectionString: string; container: Docker.Container }> {
77
const docker = new Docker();
88
const port = await getPort({ port: 5656 });
9-
const image = 'geldata/gel:latest';
9+
const image = 'geldata/gel:6';
1010

1111
const pullStream = await docker.pull(image);
1212
await new Promise((resolve, reject) =>

0 commit comments

Comments
 (0)