Skip to content

Overriding SchemaPrinter to bypass check on Subscriptions. #47

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

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented May 9, 2023

In Webonyx, the getType() function can return null. In GraphQLite, it throws an error. This makes using the SchemaPrinter impossible.
We override the SchemaPrinter to stop searching for the "Subscription" type.

Note: this can only work if webonyx/graphql-php#1380 is merged.

In Webonyx, the getType() function can return null. In GraphQLite, it throws an error.
This makes using the SchemaPrinter impossible.
We override the SchemaPrinter to stop searching for the "Subscription" type.

Note: this can only work if webonyx/graphql-php#1380 is merged.
@moufmouf moufmouf merged commit e84ac64 into thecodingmachine:master May 10, 2023
@moufmouf moufmouf deleted the export-command-subscription-fix branch May 10, 2023 07:06
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.

1 participant