You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'd like to output relationships as just the id instead of the whole object. I believe that this issue: #415 is just the same. At that time (August 2017) there wasn't a way to output the referred-to id instead of the whole object -- has the situation changed since #415 was posted?
The best solution I have come to is to modify the [String: Any] dictionary which is returned by export. I am thinking I can look for the keys which correspond to referred-to objects, and replace the value with just the id of the referred-to object. Is there any reason to think that's not a good idea? Has anyone already implemented that? Has anyone already implemented a different solution?
By the way, I am assuming that Sync doesn't have a built-in way to export relationships by id -- have I overlooked something? If there's a built-in way to handle it, that would be ideal.
Thank you in advance for any information on this topic.
The text was updated successfully, but these errors were encountered:
Thanks for your support in this library. It has been a while since I used CoreData in any of my projects and it's hard for me to maintain this library. If you have been part of the Sync contributors group and want to take ownership of the library let me know to [email protected]. For now, I'll be archiving this library.
Hi, I'd like to output relationships as just the id instead of the whole object. I believe that this issue: #415 is just the same. At that time (August 2017) there wasn't a way to output the referred-to id instead of the whole object -- has the situation changed since #415 was posted?
The best solution I have come to is to modify the [String: Any] dictionary which is returned by
export
. I am thinking I can look for the keys which correspond to referred-to objects, and replace the value with just the id of the referred-to object. Is there any reason to think that's not a good idea? Has anyone already implemented that? Has anyone already implemented a different solution?By the way, I am assuming that Sync doesn't have a built-in way to export relationships by id -- have I overlooked something? If there's a built-in way to handle it, that would be ideal.
Thank you in advance for any information on this topic.
The text was updated successfully, but these errors were encountered: