Skip to content
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

WPGraphQL deprecation messages #175

Open
rodrigo-arias opened this issue Dec 7, 2022 · 1 comment
Open

WPGraphQL deprecation messages #175

rodrigo-arias opened this issue Dec 7, 2022 · 1 comment

Comments

@rodrigo-arias
Copy link
Contributor

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

'connectionArgs' => PostObjects::get_connection_args(),

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

[ \WPGraphQL\Data\DataSource::class, 'resolve_post_object' ],

@LarsEjaas
Copy link

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

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

No branches or pull requests

2 participants