Repository navigation
Commit 2e635fc
authored
feature KnpLabs#1001 Allow costume accept headers for GraphQL Endpoint. (Necmttn)
This PR was squashed before being merged into the 3.2.x-dev branch.
Discussion
----------
Github has multiple different accept headers for different purposes. Currently, there's no easy way to add/remove the `Accept` header to the client.
ref: https://docs.github.com/en/graphql/overview/schema-previews
Commits
-------
6362281 Allow costume accept headers for GraphQL Endpoint.
dcd725e Update graphql.md
902e9ad Update lib/Github/Api/GraphQL.php
081953c Update lib/Github/Api/GraphQL.php1 parent 1dce0d3 commit 2e635fc
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
22 | 35 | | |
23 | 36 | | |
24 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments