-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DoctrineBridge] make sure that null can be the invalid value #21562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
xabbuh
commented
Feb 7, 2017
Q | A |
---|---|
Branch? | 2.7 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #21554 |
License | MIT |
Doc PR |
@@ -21,7 +21,7 @@ class DoubleNameEntity | |||
/** @Id @Column(type="integer") */ | |||
protected $id; | |||
|
|||
/** @Column(type="string") */ | |||
/** @Column(type="string", nullable=true) */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this deserves a DoubleNullableNameEntity
to keep testing the old config and be sure to prevent any regressions for both cases. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea, done
This needs more work (see #21554 (comment)). Status: Needs work |
#21554 (comment) addressed Status: Needs Review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @xabbuh. |
…lue (xabbuh) This PR was merged into the 2.7 branch. Discussion ---------- [DoctrineBridge] make sure that null can be the invalid value | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21554 | License | MIT | Doc PR | Commits ------- c3702c2 make sure that null can be the invalid value