Skip to content

Use document_type instead of couchrest-type by default #3

Description

@tapajos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions