Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2769

[GH-832] Added "readOnly: true" to YAML reference

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of mnapoli:

      Url: https://github.com/doctrine/doctrine2/pull/832

      Message:

      The readOnly configuration is documented nowhere except in the annotations reference.

      I added it to the example, for a lack of a better place. But at least it will be documented somewhere.

      Can you also confirm that this is correct? I'm starting to use it, and I can't find a way to have doctrine validate it is really working. Even with the metadata validation tool, it won't raise an error if I put an invalid entry (`readOnlyFOOBAR: true`) or an invalid value (`readOnly: FOOBAR`), so I'm kind of blind here.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-832] was closed:
        https://github.com/doctrine/doctrine2/pull/832

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-832] was closed: https://github.com/doctrine/doctrine2/pull/832
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/doctrine2/commit/5fa1b105068c84464b2871b762786c34218a7156

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: