The more I work with Core Data, the more I think I should never be just fetching objects directly; that, instead, I want to be fetching only the data I need and only in the structure I need.
@grantjbutler ORMs are Not Good imho
@pcperini the ORMs I’ve used on mobile have been not great. I keep thinking I should try my hand at creating my own, but that’s probably easier said than done.
@grantjbutler A lot of it is that state makes everything stupid complicated. Type-safe wrappers around queries? 👌
@pcperini more that none of the ones I’ve used have been very Swifty. I want to use value types to get a handle on immutability, with Codable as the primary way of integrating with the ORM.
@grantjbutler this sounds like the beginning of a GraphQL pitch…
@dzombak ah, but GraphQL isn’t a local ORM. I guess I want something kinda like that, though? Will have to spend some time experimenting.
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!