We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f80c4c commit 17b59fbCopy full SHA for 17b59fb
includes/type/object/class-downloadable-item-type.php
@@ -76,7 +76,7 @@ public static function register() {
76
},
77
],
78
'product' => [
79
- 'type' => 'Product',
+ 'type' => 'ProductUnion',
80
'description' => __( 'Product of downloadable item.', 'wp-graphql-woocommerce' ),
81
'resolve' => static function ( $source, array $args, AppContext $context ) {
82
return Factory::resolve_crud_object( $source['product_id'], $context );
0 commit comments