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

No way to set relationshipKeyPathsForPrefetching #182

Open
johnclayton opened this issue Apr 25, 2019 · 0 comments
Open

No way to set relationshipKeyPathsForPrefetching #182

johnclayton opened this issue Apr 25, 2019 · 0 comments

Comments

@johnclayton
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant