Object Hydration Failing on Enum with Default Value. #9437
Answered
by
beberlei
michaeldnelson
asked this question in
Support Questions
-
#[ORM\Column(type: 'string', length: 20, enumType: Visibility::class)]
public Visibility $visibility = Visibility::PRIVATE; results in:
Does anyone know if this case should function? Must I include an options default value? I prefer to manage my defaults in code. I have tried rebuilding my proxy cache. |
Beta Was this translation helpful? Give feedback.
Answered by
beberlei
Jan 28, 2022
Replies: 1 comment 1 reply
Answer selected by
michaeldnelson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is already discussed in this tickets #9375 and #9371