Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-61

review how the ORM and other ODM's initialize collection properties

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Invalid
    • Labels:
      None

      Description

      right now when we for example have a @ReferenceMany but nothing is assigned, then when we read said object from the database that property is set to null. should it rather be initialized as an empty collection?

        Activity

        Lukas Kahwe created issue -
        David Buchmann made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Lukas Kahwe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Lukas Kahwe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: