Skip to content

Generate getters for ManagedObjectIds #2

@tpodhraski

Description

@tpodhraski

It would be useful to generate getters for the ManagedObjectID references. So the code which is now:

_managedContext.getObjectById(object.property):*

would become:

object.propertyRef

This has two benefits. The code becomes type safe and client code becomes less complex. To fully implement this we need ForeignObjectId (#1).

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