We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
New developments concerning enum types are out now:
Doctrine DBAL 4.2 ships an Types::ENUM which should be preferred over implementing custom types for ENUM fields.
doctrine/orm#11666 doctrine/orm#11668
The following ways to use enums are yielding Property App\Entity\Project::$status: Doctrine type "enum" does not have any registered descriptor.
Property App\Entity\Project::$status: Doctrine type "enum" does not have any registered descriptor.
#[ORM\Column(type: Types::ENUM)] private ?ProjectStatus $status = ProjectStatus::Open;
#[ORM\Column(type: Types::ENUM, options: ['values' => ['open', 'locked', 'confirmed']])] private ?string $status = 'open';
The text was updated successfully, but these errors were encountered:
No branches or pull requests
New developments concerning enum types are out now:
Doctrine DBAL 4.2 ships an Types::ENUM which should be preferred over implementing custom types for ENUM fields.
doctrine/orm#11666
doctrine/orm#11668
The following ways to use enums are yielding
Property App\Entity\Project::$status: Doctrine type "enum" does not have any registered descriptor.
The text was updated successfully, but these errors were encountered: