Doctrine 1
  1. Doctrine 1
  2. DC-287

Schema: package property for model

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Schema Files
    • Labels:
      None

      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.

        Activity

        Mickael HOAREAU created issue -
        Jonathan H. Wage made changes -
        Field Original Value New Value
        Fix Version/s 1.3.0 [ 10042 ]
        Hide
        Mickael HOAREAU added a comment - - edited

        Here a possible patch for doctrine 1.2, it is working for the basic cases.

        It probably needs to be improved.

        Show
        Mickael HOAREAU added a comment - - edited Here a possible patch for doctrine 1.2, it is working for the basic cases. It probably needs to be improved.
        Mickael HOAREAU made changes -
        Attachment DC-287.patch [ 10259 ]
        Hide
        Jonathan H. Wage added a comment -

        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?

        Show
        Jonathan H. Wage added a comment - 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?
        Jonathan H. Wage made changes -
        Fix Version/s 1.2.2 [ 10047 ]
        Fix Version/s 1.3.0 [ 10042 ]
        Jonathan H. Wage made changes -
        Fix Version/s 1.2.3 [ 10051 ]
        Fix Version/s 1.2.2 [ 10047 ]
        Jonathan H. Wage made changes -
        Fix Version/s 1.2.3 [ 10051 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DC-287, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Mickael HOAREAU
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: