apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 467 forks source link

Is it possible to save GraphQLResult into CoreData? #2133

Open Prathap-iOS opened 3 years ago

Prathap-iOS commented 3 years ago

I am trying to save GraphQL result into CoreData. I have created a model class for my response using Codable.

And, I am trying to decode the result using JSONDecoder. I end up with this error.

Screenshot 2020-09-28 at 2 03 29 PM

@designatednerd Can you please help me with this?

designatednerd commented 3 years ago

@Prathap-iOS - mind opening an issue on the iOS page: https://github.com/apollographql/apollo-ios? That way more iOS devs can see the answer.