Issue from: http://github.com/couchrest/couchrest/issues#issue/25
Documents should not know about "driver" and store odd fields like couchrest-type. IIRC it was already discussed several months ago, but unfortunately I can not find a thread. The idea:
- Use document_type field name by default
- Use global ExtendedDocument.set_inheritance_field "couchrest-type" for legacy
- Use ExtendedDocument.set_inheritance_field in any class
My fork http://github.com/wildchild/couchrest/commits/document_type
Related ticket: http://jchris.lighthouseapp.com/projects/17807/tickets/22-lets-use-couchrest_type
Thoughts?
Issue from: http://github.com/couchrest/couchrest/issues#issue/25
Documents should not know about "driver" and store odd fields like couchrest-type. IIRC it was already discussed several months ago, but unfortunately I can not find a thread. The idea:
My fork http://github.com/wildchild/couchrest/commits/document_type
Related ticket: http://jchris.lighthouseapp.com/projects/17807/tickets/22-lets-use-couchrest_type
Thoughts?