Rank 3: Container
Hi everybody, i am trying to use the graphql endpoint so i am using the ferry client for that in my flutter app so according to the documentation i seted up the httpLink the following way and pass it to my ferry client
Env.endpoint defaultHeaders: <String, String>{ "X-Appwrite-Project": Env.appwriteProjectId } );but i am getting this error TypeError (type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>?' in type cast) and this error comes from the package gql_http_link/src/link.dart where their is a function called Map<String, dynamic>? _defaultHttpResponseDecoder( http.Response httpResponse) => json.decode( utf8.decode( httpResponse.bodyBytes, ), ) as Map<String, dynamic>?;
i assume this can be the cause but how do i make it work in my app. I tested the query in Insomia it works but somehow with setting it up in flutter not working.
Have anybody experience on that. I would be very happy for anykind of help.