Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

No way to set relationshipKeyPathsForPrefetching #182

@johnclayton

Description

@johnclayton

I am wanting to include this attribute in a FetchRequest so I can construct a FetchRequestController with it, but since there is no property for it on FetchRequest, nor a constructor that would take an NSFetchRequest to represent the internal state there doesn't seem to be a way to do this using extensions.

Was thinking something like this syntax would work:

func include(relationships: String...) -> FetchRequest<Entity>

And in a Query:

func include(relationships: String...) -> Query<Entity>

Am I missing an avenue to do this external to the framework?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions