Skip to content
New issue

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

[11.14] GraphQL API #772

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add client method
  • Loading branch information
claudiu-cristea committed Aug 23, 2023
commit 6f445b83f2d8844c100b1774903322576cd63822
9 changes: 9 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use Gitlab\Api\Deployments;
use Gitlab\Api\Environments;
use Gitlab\Api\Events;
use Gitlab\Api\GraphQL;
use Gitlab\Api\Groups;
use Gitlab\Api\GroupsBoards;
use Gitlab\Api\GroupsEpics;
Expand Down Expand Up @@ -407,6 +408,14 @@ public function wiki(): Wiki
return new Wiki($this);
}

/**
* @return GraphQL
*/
public function graphql(): GraphQL
{
return new GraphQL($this);
}

/**
* Authenticate a user for all next requests.
*
Expand Down