Skip to content

Generate getters for ManagedObjectIds #2

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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