[DC-287] Schema: package property for model Created: 25/Nov/09 Updated: 08/Jun/10 |
|
| Status: | Open |
| Project: | Doctrine 1 |
| Component/s: | Schema Files |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Mickael HOAREAU | Assignee: | Jonathan H. Wage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
There is a property "package" for the schema.yml file. But this should be used only for plugin symfony. It will be good to have the same feature for classic model (not plugin), to be available to organize the model inside of the model folder. This feature is critical for huge project. Indeed having 200 files at the root of the folder model/doctrine is very difficult to maintain. |
| Comments |
| Comment by Mickael HOAREAU [ 25/Dec/09 ] |
|
Here a possible patch for doctrine 1.2, it is working for the basic cases. It probably needs to be improved. |
| Comment by Jonathan H. Wage [ 15/Mar/10 ] |
|
I agree this is a problem, but your patch is not good. It doesn't follow the coding standards and has some formatting problems. Also, it doesn't seem like a good solution. What do you think? |