pristas-peter / wp-graphql-gutenberg

Query gutenberg blocks with wp-graphql
https://wp-graphql-gutenberg.netlify.app
GNU General Public License v3.0
299 stars 62 forks source link

WPGraphQL deprecation messages #175

Open rodrigo-arias opened 1 year ago

rodrigo-arias commented 1 year ago

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

LarsEjaas commented 1 year ago

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