[PR #10946] Adds metadata field type validation against Entity property type #12712

Open
opened 2026-01-22 16:14:56 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10946

State: closed
Merged: Yes


Copied from #10662

This avoid situations where you might map a decimal to a float, when it
should really be mapped to a string. This is a big pitfall because in
that situation, the ORM will consider the field changed every time.

Closes #10662 , closes #10661

**Original Pull Request:** https://github.com/doctrine/orm/pull/10946 **State:** closed **Merged:** Yes --- Copied from #10662 This avoid situations where you might map a decimal to a float, when it should really be mapped to a string. This is a big pitfall because in that situation, the ORM will consider the field changed every time. Closes #10662 , closes #10661
admin added the pull-request label 2026-01-22 16:14:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12712