Closed jmfayard closed 7 years ago
Given a crud.ymlcontaining
crud.yml
I made a couple of times a mistake where I add two times the same attribute
user: label: User table: user fields: attribute: type: integer unique: true attribute: type: text unique: false
The one I was modifying was silently ignored, keeping me confused why nothing I did was taken into account.
If would be good if the validation step can add a warning here.
I'm afraid this is totally legid YAML: https://github.com/symfony/symfony/issues/11538 But thank you for pointing this out.
Given a
crud.yml
containingI made a couple of times a mistake where I add two times the same attribute
The one I was modifying was silently ignored, keeping me confused why nothing I did was taken into account.
If would be good if the validation step can add a warning here.