We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom queries and mutations should be generated.
N/A
Currently, according to the doc we have to manually construct the query and parse the response like this:
const graphQLDocument = ''' query Echo(\$content: String!) { echo(content: \$content) { content executionDuration } } '''; final echoRequest = GraphQLRequest<String>( document: graphQLDocument, variables: <String, String>{"content": "Hello world!!!"}, ); final response = await Amplify.API.query(request: echoRequest).response; safePrint(response); Map<String, dynamic> jsonMap = json.decode(response.data!); EchoResponse echoResponse = EchoResponse.fromJson(jsonMap); safePrint(echoResponse.echo.content);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature you'd like to request
Custom queries and mutations should be generated.
Describe the solution you'd like
Custom queries and mutations should be generated.
Describe alternatives you've considered
N/A
Additional context
Currently, according to the doc we have to manually construct the query and parse the response like this:
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: