Skip to content

Bigint are casted to int (if possible) for DBAL 4 #484

@VincentLanglet

Description

@VincentLanglet

With doctrine/dbal#6177, the bigint will now be casted to int by doctrine.
So I assume the BigIntType will need to be updated for Doctrine 4.

I assume

return TypeCombinator::intersect(new StringType(), new AccessoryNumericStringType());

need to be changed at least from numeric-string to numeric "if DBAL version is 4".

Or should it be BenevolentUnion(int, numeric) because most of users use them for small enough values (?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions