Skip to content

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