Skip to content

Add support for inferNullabilityFromPHPType mapping option#2222

Draft
delacry wants to merge 1 commit into
doctrine:3.4.xfrom
delacry:nullability
Draft

Add support for inferNullabilityFromPHPType mapping option#2222
delacry wants to merge 1 commit into
doctrine:3.4.xfrom
delacry:nullability

Conversation

@delacry

@delacry delacry commented Apr 3, 2026

Copy link
Copy Markdown

Adds infer_nullability_from_php_type per-mapping option, passing inferNullabilityFromPHPType to the driver constructor from doctrine/orm#11814.

Mappings with this enabled get a separate driver instance since the flag is a constructor parameter.

If naming feels too long feel free to rename it, it was originally shorter but it was suggested to me to use this one so I thought I'd use the same naming here.

Depends on doctrine/orm#11814.

@ostrolucky ostrolucky added the Status: On Hold Most likely waiting for upstream resolution label May 19, 2026
@derrabus
derrabus changed the base branch from 3.3.x to 3.4.x July 22, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: On Hold Most likely waiting for upstream resolution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants