Skip to content

Conversation

@aszenz
Copy link
Contributor

@aszenz aszenz commented Jun 23, 2023

Required before fixing tests for graphlite-bundle
I suggest we fix this pkg first

@aszenz aszenz mentioned this pull request Jun 23, 2023
@aszenz
Copy link
Contributor Author

aszenz commented Jun 23, 2023

Relates to thecodingmachine/graphqlite-bundle#174

*
* Value "graphql" is reserved for errors produced by query parsing or validation, do not use it.
*/
public function getCategory(): string
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClientAware no longer has this method now, see webonyx/graphql-php#830 for why they removed the category

public function getExtensions(): array
{
$extensions = [];
$extensions = ['category' => 'Validate'];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To keep tests running and for backwards compatibility i added category to extensions manually

@nguyenk nguyenk merged commit 671f5d1 into thecodingmachine:6.0 Jun 23, 2023
@nguyenk
Copy link
Member

nguyenk commented Jun 23, 2023

Thank you so much @aszenz !!

@aszenz aszenz deleted the 6.0 branch June 26, 2023 06:48
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.

2 participants