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

        Hide
        Lukas Kahwe added a comment -

        it seems like the behavior is consistent with the ORM

        Show
        Lukas Kahwe added a comment - it seems like the behavior is consistent with the ORM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: