Skip to content

Commit 2dedda4

Browse files
committed
feat: "ProductWithAttributes" interface radded to "ProductWithVariations" interface
1 parent 26d3a19 commit 2dedda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/type/interface/class-product-with-variations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function register_interface(): void {
2929
'ProductWithVariations',
3030
[
3131
'description' => __( 'A product with variations.', 'wp-graphql-woocommerce' ),
32-
'interfaces' => [ 'Node', 'Product' ],
32+
'interfaces' => [ 'Node', 'Product', 'ProductWithAttributes' ],
3333
'fields' => self::get_fields(),
3434
'connections' => self::get_connections(),
3535
'resolveType' => [ Core::class, 'resolve_product_type' ],

0 commit comments

Comments
 (0)