zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.23k stars 608 forks source link

fix(graphql): transform nested object from box #1421

Closed ronnnnn closed 3 months ago

ronnnnn commented 3 months ago

When the HiveStore is reopened and HiveStore#toMap is used, the following error occurs:

type '_Map<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>?' in type cast

The related issue is #1091 and the pull request is #1167. I believe HiveStore#toMap should also recursively transform nested objects.

vincenzopalazzo commented 3 months ago

Ah in the meanwhile if it is possible add fix(graphql): inside the command line would be really good

ronnnnn commented 3 months ago

@vincenzopalazzo Thank you, I added graphql scope with git commit --amend.