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

Fix Client URL Prepending For GraphQL Endpoint on Enterprise #1048

Merged
merged 2 commits into from
Jan 23, 2022

Conversation

asher-goldberg
Copy link
Contributor

fixes #1047

This checks if v4 is passed into the Client and an Enterprise URL is set then the prepend will only be /api. (The class default is v3 if no version is provided so can't just pass an empty string).

TL;DR - this now allows this package to run GraphQL calls on Enterprise $client = new Client(null, 'v4', 'https://enterpriseurl');

@acrobat acrobat merged commit b56a3fe into KnpLabs:master Jan 23, 2022
@acrobat
Copy link
Collaborator

acrobat commented Jan 23, 2022

Thanks @asher-goldberg! And congrats on your first contribution! 🎉

@asher-goldberg asher-goldberg deleted the fix-enterprise-graphql branch January 23, 2022 14:46
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.

Fix Client URL Prepending For GraphQL Endpoint on Enterprise
2 participants