[CODM-2] add annotation/xml/yml support for metadata definition Created: 21/Sep/10  Updated: 21/May/11  Resolved: 21/May/11

Status: Resolved
Project: Doctrine CouchDB ODM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Lukas Kahwe Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Benjamin Eberlei [ 02/Oct/10 ]

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
Comment by Benjamin Eberlei [ 21/May/11 ]

Implemented Yaml and XML Metadata Drivers

Generated at Sat Sep 05 10:34:20 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.