wp-graphql-gutenberg icon indicating copy to clipboard operation
wp-graphql-gutenberg copied to clipboard

WPGraphQL deprecation messages

Open rodrigo-arias opened this issue 2 years ago • 1 comments

Function WPGraphQL\Connection\PostObjects::get_connection_args is deprecated since version 1.13.0! Use \WPGraphQL\Type\Connection\PostObjects::get_connection_args instead. Reference

https://github.com/pristas-peter/wp-graphql-gutenberg/blob/bacabca662698871ecc8b297c7af3b5b95d431c1/src/Schema/Types/Connection/BlockEditorContentNodeConnection.php#L15

Function WPGraphQL\Data\DataSource::resolve_post_object is deprecated since version 0.8.4! Use Use $context->get_loader( 'post' )->load_deferred( $id ) instead. instead. Reference https://github.com/pristas-peter/wp-graphql-gutenberg/blob/bacabca662698871ecc8b297c7af3b5b95d431c1/src/Schema/Utils.php#L9

rodrigo-arias avatar Dec 07 '22 00:12 rodrigo-arias

Unfortunately, I am experiencing the same issue. I have tested with:

  • WPGraphQL Version 1.13.7
  • WP GraphQL Gutenberg Version 0.4.1
  • WordPress Version 6.1.1

LarsEjaas avatar Jan 10 '23 17:01 LarsEjaas