Skip to content

Add support for inferNullabilityFromPHPType mapping option#2222

Draft
delacry wants to merge 1 commit intodoctrine:3.3.xfrom
delacry:nullability
Draft

Add support for inferNullabilityFromPHPType mapping option#2222
delacry wants to merge 1 commit intodoctrine:3.3.xfrom
delacry:nullability

Conversation

@delacry
Copy link
Copy Markdown

@delacry delacry commented Apr 3, 2026

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant