Doctrine CouchDB ODM
  1. Doctrine CouchDB ODM
  2. CODM-2

add annotation/xml/yml support for metadata definition

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Activity

      Hide
      Benjamin Eberlei added a comment -

      This issue raises the question: What set of metadata do we support?

      Obvious are the ones that are primitive json types:

      @String
      @Float
      @Integer
      @Array
      @Boolean
      

      Then primitive types that need conversion:

      @Date
      

      Then CouchDB specific stuff:

      @Id
      @Version
      

      On the Entity Class

      @Document - Without arguments
      

      References:

      @ReferenceMany(targetDocument=..)
      @ReferenceOne(targetDocument=..)
      @EmbedMany(targetDocument=..)
      @EmbedOne(targetDocument=..)
      

      Attachments:

      @Attachments - All attachments of the Document indexed by name (Should be wrapped by an attachment collection or something)
      @Attachment - A special attachment accessible through this field name, null if not exists
      
      Show
      Benjamin Eberlei added a comment - This issue raises the question: What set of metadata do we support? Obvious are the ones that are primitive json types: @ String @ Float @ Integer @Array @ Boolean Then primitive types that need conversion: @Date Then CouchDB specific stuff: @Id @Version On the Entity Class @Document - Without arguments References: @ReferenceMany(targetDocument=..) @ReferenceOne(targetDocument=..) @EmbedMany(targetDocument=..) @EmbedOne(targetDocument=..) Attachments: @Attachments - All attachments of the Document indexed by name (Should be wrapped by an attachment collection or something) @Attachment - A special attachment accessible through this field name, null if not exists
      Hide
      Benjamin Eberlei added a comment -

      Implemented Yaml and XML Metadata Drivers

      Show
      Benjamin Eberlei added a comment - Implemented Yaml and XML Metadata Drivers

        People

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

          Dates

          • Created:
            Updated:
            Resolved: