[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    

 Description   

There is a property "package" for the schema.yml file.
http://www.doctrine-project.org/documentation/manual/1_0/en/yaml-schema-files#features-examples:packages

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?

Generated at Wed Oct 22 13:52:43 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.