On Wed, 2016-04-20 at 00:09 +0200, Marco Pivetta wrote:
> In Doctrine ORM, having a way to know that a field or parameter is a
> `string | null` or a `int | float` may be the difference between
> knowing
> what kind of column definition is needed for a field at DB level,
> without
> even need for defining manual mappings.

So what's the column definition if you see `string | null`? A PHP string
can have (almost) arbitrary length and binary data, so this is a BLOB?
Most likely not what the user wants. 

The PHP type hardly describes the constraints by the application. This
might add a small sanity check but by no means a game changer.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to