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

Key Path Operators Not Supported on Child Key Path #2972

Open
aksuska opened this issue Feb 28, 2021 · 3 comments
Open

Key Path Operators Not Supported on Child Key Path #2972

aksuska opened this issue Feb 28, 2021 · 3 comments

Comments

@aksuska
Copy link

aksuska commented Feb 28, 2021

At least when loaded from cib, the following key path generates an exception: collectionKeyPath.@sum.valueKeyPath but this usage is canonical in Objective-C. The error is "CPInvalidArgumentException: [CPArray addObserver:forKeyPath:options:context:] is not supported." In this case, the KVC implementation should ignore the intermediate observation as the preceding key should always produce an array (or set if you support those operators, but same issue).

@cappbot cappbot added this to the Someday milestone Feb 28, 2021
@cappbot cappbot added the #new label Feb 28, 2021
@cappbot
Copy link

cappbot commented Feb 28, 2021

Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue.

@daboe01
Copy link
Contributor

daboe01 commented Mar 26, 2021

-#new
+bindings
+#needs-patch
+feature

@cappbot
Copy link

cappbot commented Mar 26, 2021

Milestone: Someday. Labels: #needs-patch, bindings, feature. What's next? This issue needs a volunteer to write and submit code to address it.

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

3 participants