Skip to content

Commit

Permalink
Merge pull request #28 from wp-graphql/fix/wp-graphql-1.24-support
Browse files Browse the repository at this point in the history
fix: Adds support for WPGraphQL v1.24.x
  • Loading branch information
kidunot89 authored Apr 25, 2024
2 parents 91dbafc + 912b713 commit 168f5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestCase/WPGraphQLTestCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public function clearSchema() {
* @return void
*/
public function clearLoaderCache( $loader_name ) {
$loader = \WPGraphQL::get_app_context()->getLoader( $loader_name );
$loader->clearAll();
$loader = \WPGraphQL::get_app_context()->get_loader( $loader_name );
$loader->clear_all();
}

/**
Expand Down

0 comments on commit 168f5b8

Please sign in to comment.