Skip to content

Add possibility to have read-only model instances without data descriptors for fields #1009

Open
@warvariuc

Description

@warvariuc

I am suggesting somehow to add possibility to be able during a query to instruct the mapper to bring back light model instances which are read-only and thus don't need data descriptor stuff to track instance changes.

Otherwise this descriptors are quite heavy: http://stackoverflow.com/questions/30342212/override-attribute-access-precedence-having-a-data-descriptor

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions