[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: Text File DC-287.patch    


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.

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?

Generated at Mon Nov 30 17:33:40 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.