Multiple mutations in a single GraphQL request

By default, with multiple mutations within a single GraphQL call, batching is enabled automatically by using a Content Platform Engine UpdatingBatch behind the scenes. If there is only one mutation within a single GraphQL call, batching is not used at all.
The following example creates a top-level folder and a subfolder in a single GraphQL call:
mutation {
  topfolder: createFolder(
    repositoryIdentifier: "<objectStoreSymName>"
    folderProperties: {
      name: "Test Folder 1"
      parent: {
        identifier: "/"
      }
    }
  ) 
  {
    name
    className
    pathName
  }
  
  childfolder: createFolder(
    repositoryIdentifier: "<repoName>"
    folderProperties: {
      name: "Child Folder 11"
      parent: {
        identifier: "/Test Folder 1"
      }
    }
  ) 
  {
    name
    className
    pathName
  }
}