If this is ever done, it should be in the form of automatic conformance to Encodable. However, given that encoding inverse relationships would lead to infinite recursion, I think the entire concept of encoding single objects is flawed.
Personally, I think it would make more sense to implement an NSAtomicStore subclass for JSON, along the lines of the existing XML store. I don’t think that needs to be part of CoreStore to work, either.
@Saklad5 commented on GitHub (May 6, 2020):
If this is ever done, it should be in the form of automatic conformance to `Encodable`. However, given that encoding inverse relationships would lead to infinite recursion, I think the entire concept of encoding single objects is flawed.
Personally, I think it would make more sense to implement an `NSAtomicStore` subclass for JSON, along the lines of the existing XML store. I don’t think that needs to be part of CoreStore to work, either.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @DimaZava on GitHub (Jul 17, 2018).
@HaiyuanZh commented on GitHub (Mar 23, 2019):
might try this:
@Saklad5 commented on GitHub (May 6, 2020):
If this is ever done, it should be in the form of automatic conformance to
Encodable. However, given that encoding inverse relationships would lead to infinite recursion, I think the entire concept of encoding single objects is flawed.Personally, I think it would make more sense to implement an
NSAtomicStoresubclass for JSON, along the lines of the existing XML store. I don’t think that needs to be part of CoreStore to work, either.