microsoftgraph / microsoftgraph/msgraph-sdk-php

graphclient is missing a BatchRequestRequestBuilder

Open
#1,578 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

goodfirstissue type:enhancement
Dominant language
PHP
Stars
669
Forks
150
Avg merge
15h 21m
Merged PRs (30d)
3

Description

Taking a look at the example at

https://github.com/microsoftgraph/msgraph-sdk-php/blob/7fa86c054e315c5d6e081f3f1f3b963562c923f3/docs/Examples.md?plain=1#L658

The graph client is missing the setup of the BatchRequestRequestBuilder.

The code of the graphclient should have an batch() function returning the BatchRequestRequestBuilder so that the example/sample is simplified to

$batchResponse = $graphServiceClient->batch()->postAsync($batchRequestContent)->wait();

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the batch example in docs/Examples.md around the referenced lines, then locate the Graph client implementation and existing request-builder setup. The work is done when the client exposes batch() returning BatchRequestRequestBuilder and the example can use the proposed postAsync(...)->wait() chain.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.