apollographql / apollographql/apollo-tooling
Is it possible to save GraphQLResult into CoreData?
Open
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 460
- PR merge metrics
- No merged PRs in 30d
Description
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.

@designatednerd Can you please help me with this?
Contributor guide
Research direction
No repository file or test is identified; start by reviewing the reported GraphQLResult, Codable, JSONDecoder, and CoreData context in the issue body and attached screenshot. Done would require a confirmed explanation or documented path for saving the decoded result, but the issue does not define a code change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, swift
- Domain
- database, mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100