Skip to content

88 enable branching in graphql #104

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

Merged
merged 2 commits into from
Sep 10, 2024
Merged

88 enable branching in graphql #104

merged 2 commits into from
Sep 10, 2024

Conversation

arthanson
Copy link
Contributor

Fixes: #88

Test used the following query with and without the X-NetBox-Branch line:

curl -H "Authorization: Token $TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-NetBox-Branch: 1nrbxwdu" \
http://127.0.0.1:8000/graphql/ \
--data '{"query": "query {site_list {id name}}"}'

@arthanson arthanson marked this pull request as ready for review September 10, 2024 17:23
@jeremystretch jeremystretch merged commit 0fa0955 into develop Sep 10, 2024
7 checks passed
@jeremystretch jeremystretch deleted the 88-graphql branch September 10, 2024 18:00
jeremystretch added a commit that referenced this pull request Sep 12, 2024
* 88 enable branching in graphql

* Tweak formatting of conditional logic

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
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.

Enable branching support for the GraphQL API
2 participants