Skip to content

Custom Queries doc might be wrong #8267

Open

Description

@Tryanium

Describe the content issue:
Hi Team! I'm trying to use the Custom Queries, to make BatchPut on Dynamo, I've followed the example in the doc: https://docs.amplify.aws/flutter/build-a-backend/data/custom-business-logic/batch-ddb-operations/
At the end of the example

const { data, errors } = await client.mutations.BatchCreatePost({
  contents: ['Post 1', 'Post 2', 'Post 3']
});

There is a client, but for the rest of examples there is no "client" it's only

final request = ModelMutations.create(todo);
final response = await Amplify.API.mutate(request: request).response;

this seems to be a Typescript example in the flutter section.

URL page where content issue is:
https://docs.amplify.aws/flutter/build-a-backend/data/custom-business-logic/batch-ddb-operations/

Activity

  1. Tryanium commented on Feb 24, 2025

    @Tryanium
    Author

    @salihgueler Tag for investigating

  2. changed the title [-]Custom Queries doc is wrong[/-] [+]Custom Queries doc might be wrong[/+] on Feb 24, 2025
  3. added
    amplify/data
    on Feb 24, 2025
  4. jjarvisp commented on Feb 26, 2025

    @jjarvisp
    Contributor

    Hey @Tryanium, thanks for opening this issue! We appreciate you pointing this out; we'll look into the best way to close this gap and get a Flutter example added to this section.

  5. added
    amplify/ios
    and removed
    amplify/data
    on Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    amplify/androidamplify/flutteramplify/ios

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions