Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ObservedSectionedResults too restrictive #8363

Open
ayrtonsoftware opened this issue Sep 16, 2023 Discussed in #8360 · 0 comments
Open

@ObservedSectionedResults too restrictive #8363

ayrtonsoftware opened this issue Sep 16, 2023 Discussed in #8360 · 0 comments

Comments

@ayrtonsoftware
Copy link

Discussed in #8360

Originally posted by ayrtonsoftware September 13, 2023
If I use sectioned results in a view, it works for only a small number of scenarios:

@ObservedSectionedResults(Fact.self, sectionKeyPath: \.category, filter: NSPredicate(format: "parent = nil")) var cats

But I need to pass in a Results<Fact>, the section key path, and a filter to get the next view I want. This does not seem possible.

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

No branches or pull requests

1 participant