Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-4

add mappings to reference versions in document properties

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Activity

      Hide
      David Buchmann added a comment -

      we will work on this at liip and release at least rudimentary support by end of november.

      Show
      David Buchmann added a comment - we will work on this at liip and release at least rudimentary support by end of november.
      Hide
      Lukas Kahwe added a comment -

      i have talked to David about this a bit.
      overall however we don't want to replicate the VersionManager API yet still we want to always give Document instances and not node instances to the user

      ideally there should be a way to specify the label one wants to read inside the document annotation, but also inside a property annotation. so that one could for example always get the "draft" label as the document but get the "current" version of the same document as a property. however it would also be nice to be able to get all predecessors as a property.

      Show
      Lukas Kahwe added a comment - i have talked to David about this a bit. overall however we don't want to replicate the VersionManager API yet still we want to always give Document instances and not node instances to the user ideally there should be a way to specify the label one wants to read inside the document annotation, but also inside a property annotation. so that one could for example always get the "draft" label as the document but get the "current" version of the same document as a property. however it would also be nice to be able to get all predecessors as a property.
      Show
      David Buchmann added a comment - https://github.com/doctrine/phpcr-odm/pull/96

        People

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

          Dates

          • Created:
            Updated:
            Resolved: