28 questions
1
vote
0
answers
265
views
Graphql Subscription not working for graphql_flutter
I am trying to use subscriptions in my app, when I add a user using mutation ,mysubscription is fired. When I try to add user using mutation from my flutter app , mysubscription of backend is fired ...
0
votes
1
answer
309
views
graphql query throws expected argument name exception in flutter
What could be wrong in the below query, I get an Expected argument name error when I execute the query inside of Flutter. I tried another query which does not take any arguments which worked but not ...
1
vote
1
answer
376
views
Difficulty setting up AWS Amplify GraphQL data subscriptions
I am following the official online guide as well as this tutorial on how to set up subscriptions to data. I will be giving my two unfruitful attempts in this issue.
I am using this configuration for ...
0
votes
1
answer
74
views
How to query data from `PostgresSql`?
I use NestJj,PostgreSQL and Graphql for Back-End,
Flutter,graphql_flutter for Front End.
I have a collection store like this :
I want to get the following result:
[
{
type:'A',
...
0
votes
0
answers
70
views
What solution is available for graphql_flutter production bug
I have integrated graphql_flutter version ^5.0.0 in my mobile project for my queries in particular. Everything works fine when I test on my dev environment (emulators) but not on a real device. Please,...
1
vote
1
answer
1k
views
Flutter OperationException(linkException: ResponseFormatException(originalException: FormatException: Unexpected end of input (at character 1)
Previously I was using graphql version 3.1.0 and it was working fine, able to receive request as expected, but recently I had to update my flutter version to 2.10.3 and all other packages, including ...
0
votes
0
answers
181
views
The filter value for "_lt" is not a valid number
I don't know why the variables are not valid numbers. I use flutter with graphql_flutter plugin.
Somehow I get this error message:
The query:
The generated API classes:
The "service" ...
6
votes
2
answers
3k
views
Flutter GraphQL - OperationException(linkException: ResponseFormatException(originalException: FormatException: Unexpected character (at character 1)
I am getting this error while using mutate method of graphql_flutter package.
Tried with following versions of qraphql_flutter package:
5.0.1-beta.1
5.0.0
4.0.0-beta.5
Error:
I/flutter (13946): //// ...
0
votes
1
answer
1k
views
graphql-flutter subscriptions in flutter connectivity issue
I am new to flutter development but I have good experience in nodejs and graphql. I am trying to consume the subscription widget of graphql-flutter and update the changes. but the connection is not ...
0
votes
1
answer
579
views
graphql_flutter mutation query expects return statement - not sure how to add it
The mutation query on the builder method is expecting a return statement, which I am not sure where and how to add to the below code. I believe the mutation query should return a pass or fail for the ...
0
votes
1
answer
822
views
graphql_flutter mutation widget shows error -
I am not sure if I understand this error at all. Anyone with experience using graphql_flutter package please help out. Totally new to Flutter and graphql. But so far I have figured the backend.
My ...
2
votes
1
answer
1k
views
how to replace "OptimisticCache" in GraphQL flutter?
I just upgrade graphql_flutter version "3.1.0" to "5.0.0-nullsafety.5".
IDE has an exception: "The method 'OptimisticCache' isn't defined for the type 'GraphQLService'."
...
2
votes
1
answer
5k
views
Error when connecting to Graphql API using graphql_flutter
I am trying to use graphql_flutter for my flutter app but cannot establish connection and I'm getting the following error:
I/flutter ( 6283): OperationException(linkException: ServerException(...
1
vote
1
answer
1k
views
unable to use both useFuture() and useValueChanged() in same HookWidget
I have a hook widget with useValueChanged listener as follows:
useValueChanged(selectedLayout.value, (_, __) {
changeLayout(selectedLayout.value);
});
and changeLayout(..) uses ...