Skip to content

POSTGRES: Transformer is not applied for ManyToOne primary Columns on insert cascade, when they are defined as extra column #11304

@ertl

Description

@ertl

Issue description

POSTGRES: Transformer is not applied for ManyToOne primary Columns on insert cascade, when they are defined as extra column

Expected Behavior

Image

Image

Image

Actual Behavior

Value should be transformed... It seems to work for MSSQL an Oracle... so should it for POSTGRES

Steps to reproduce

I will add Test that fail

My Environment

Dependency Version
Operating System
Node.js version 22.13.1
Typescript version 5.7.3
TypeORM version 0.3.20

Additional Context

No response

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqlite-abstract
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions