Skip to content

DataStructure::transformPostgresTextArrayToPHPArray (v2) vs PostgresArrayToPHPArrayTransformer::transformPostgresArrayToPHPArray (v3) #351

@j4r3kb

Description

@j4r3kb

Hi.
After upgrading the package from v2 to v3, one of my tests failed. The test saves the string
'⥀!@#$%^&*()_+=-}{[]|":;\'\?><,./'
to DB and then retrieves it using the transformers.
In v2 the return value was the same while using DataStructure::transformPostgresTextArrayToPHPArray.
Inv v3 however the return value is '⥀!@#$%^&*()_+=-}{[]|":;\'\\?><,./' (backslash is escaped) while using PostgresArrayToPHPArrayTransformer::transformPostgresArrayToPHPArray.

Is this an intended change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions