[Feature] Guide about doctrine naming_strategy
Is your feature request related to a problem? Please describe.
When I install the project, with the naming strategy doctrine.orm.naming_strategy.underscore the fields are not found due to other case being used than underscore.
Unknown column 's0_.cron_expression' in 'field list'
Describe the solution you'd like I'm not sure what the fix should be but a note about this would be great.
Yes,
We haven't specified the field names. For example :
#[ORM\Column(type: Types::STRING)]
private string $cronExpression = '* * * * *';
The doctrine.orm.naming_strategy.underscore configuration is not the default configuration in Sylius (which is a shame, by the way).
I think we should specify the field names in the Plugin, because it's a shame to have to migrate the project for this.