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

Back links as RLMResults or RLMArray #1508

Closed
AnthonyMDev opened this issue Feb 16, 2015 · 4 comments
Closed

Back links as RLMResults or RLMArray #1508

AnthonyMDev opened this issue Feb 16, 2015 · 4 comments
Labels
Blocked This issue is blocked by another issue T-Duplicate

Comments

@AnthonyMDev
Copy link

If my whole project is set up to be manipulating data based on RLMArray and RLMResults, I need to be able to manipulate back linked objects from an inverse relationship as well. It seems very counter-intuitive to me to have the linkingObjectsOfClass: forProperty: method return an NSArray.

This is causing me problems in how I am able to work with the data I'm receiving from this query. Is there a way to convert this into RLMResults?

@segiddins
Copy link
Contributor

Hi @AnthonyMDev, we totally agree it would be great to represent backlinks as RLMResults, but unfortunately there's some infrastructure we need to get into place for that to be possible.

@segiddins segiddins added Blocked This issue is blocked by another issue P3 labels Feb 16, 2015
@AnthonyMDev
Copy link
Author

Okay, so this isn't just an odd design decision, but a current limitation? Makes sense. Thanks

@bmunkholm bmunkholm removed the P3 label Feb 16, 2015
@segiddins segiddins reopened this Feb 16, 2015
@segiddins segiddins added the P2 label Feb 16, 2015
@segiddins
Copy link
Contributor

@AnthonyMDev yup! As soon as we have support in Core for this, we'll change backlinks to return an RLMResults.

@alazier alazier self-assigned this Feb 19, 2015
@alazier alazier removed their assignment Mar 27, 2015
@timanglade timanglade added backlog and removed P2 labels Apr 28, 2015
@segiddins segiddins self-assigned this Sep 8, 2015
@jpsim
Copy link
Contributor

jpsim commented Feb 12, 2016

This will be done as part of #1324, so I'm closing this as a duplicate.

@jpsim jpsim closed this as completed Feb 12, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Blocked This issue is blocked by another issue T-Duplicate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants