Alexander M. Turek

Results 630 comments of Alexander M. Turek

Please keep in mind that this piece of code will be executed on a hot path. If I hydrate thousands of entities with bigint fields, I don't want to execute...

Sorry, but that implementation is way too complicated. I don't want to maintain this.

Which DBMS formats 2^31-1 with leading zeros?

> I am asking as the integer DBAL Type class can be used to load any value Sure, but it's not meant to be used on any value. And I...

> in my company we use DBAL Types to cast data even from APIs for example But that's an off-label use and I hope you're fully aware of that. If...

> I don't understand the problem The problem ist that if the DB would return PHP_INT_MAX as string, we would not convert it to int although one might expect that.

As soon as the unnecessary changes to the test have been reverted, I'm fine with the PR.

We've had a similar discussion in #6455: Postgres also supports `VARCHAR` without a limit which DBAL 4 "broke" as well. The problem is that those unconstrained types as Postgres calls...