Skip to content

Conversation

Necmttn
Copy link
Contributor

@Necmttn Necmttn commented Apr 29, 2021

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

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
Copy link
Collaborator

@acrobat acrobat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Necmttn the change looks good! Can you just add an example (so users know this "feature" exists) to switch the accept header in the graphql docs? Thanks!

See: https://github.com/KnpLabs/php-github-api/blob/master/doc/graphql.md

@Necmttn
Copy link
Contributor Author

Necmttn commented Apr 29, 2021

@acrobat updated 🍻

Necmttn and others added 2 commits April 30, 2021 11:22
@acrobat acrobat merged commit 2e635fc into KnpLabs:master Apr 30, 2021
@acrobat
Copy link
Collaborator

acrobat commented Apr 30, 2021

Thanks @Necmttn! And congrats on your first contribution! 🎉

@Necmttn Necmttn deleted the patch-1 branch May 24, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants