Uploaded image for project: 'Doctrine 1'
  1. Doctrine 1
  2. DC-287

Schema: package property for model

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 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

        titang Mickael HOAREAU created issue -
        jwage Jonathan H. Wage made changes -
        Field Original Value New Value
        Fix Version/s 1.3.0 [ 10042 ]
        Hide
        titang 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
        titang 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.
        titang Mickael HOAREAU made changes -
        Attachment DC-287.patch [ 10259 ]
        Hide
        jwage 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
        jwage 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?
        jwage Jonathan H. Wage made changes -
        Fix Version/s 1.2.2 [ 10047 ]
        Fix Version/s 1.3.0 [ 10042 ]
        jwage Jonathan H. Wage made changes -
        Fix Version/s 1.2.3 [ 10051 ]
        Fix Version/s 1.2.2 [ 10047 ]
        jwage 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={expand=changesets[0:20].revisions[0:29],reviews, query=DC-287}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: