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

feat: allow executor plugin to work with older webonyx graphql versions #2

Merged
merged 4 commits into from Jul 21, 2022

Conversation

danslo
Copy link
Collaborator

@danslo danslo commented Jul 21, 2022

Previous versions of the webonyx GraphQL implementation used private properties and methods. Unfortunately we have to support that version because Magento 2.4.2 uses it.

See here for more info:
webonyx/graphql-php#801

This PR makes sure we handle both situations, falling back to reflection in case of private class internals.

@damienwebdev damienwebdev changed the title allow executor plugin to work with older webonyx graphql versions feat: allow executor plugin to work with older webonyx graphql versions Jul 21, 2022
@damienwebdev damienwebdev self-requested a review July 21, 2022 13:40
@damienwebdev damienwebdev merged commit 1501383 into main Jul 21, 2022
@damienwebdev damienwebdev deleted the webonyx-compat branch July 21, 2022 13:40
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.

None yet

2 participants