PureSwift / CoreModel

Pure Swift ORM (Supports Linux)
MIT License
35 stars 4 forks source link

Add JSON support #6

Open colemancda opened 1 year ago

colemancda commented 1 year ago

Support storing Codable properties as JSON, for MongoDB to store as JSON and CoreData as a string. The backing implementation should be simple, the only consideration is making Predicate filters and SortDescriptor work with both since MongoDB has native JSON support and CoreData doesn't. FetchRequest should be compatible across backing stores.