ProCynic / rest-now

Start it running, dump some HTML/Bootstrap in the public dir, and you've got a webapp.
MIT License
3 stars 0 forks source link

API Link serialization. #10

Open ProCynic opened 12 years ago

ProCynic commented 12 years ago

When a document contains a reference to another document, the reference should be serialized and deserialized as an api link. The underlying representation in the database should not change. This is impossible for manual references, where the id of the referenced document is simply stored in the document as a field with no specific markup, so this will only be supported for DBRefs. See the mongo docs.