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

fix: "Product" interfaces shared fields fix #901

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: "ProductWithAttributes" interface radded to "ProductWithVariati…
…ons" interface
  • Loading branch information
kidunot89 committed Nov 5, 2024
commit 2dedda407c2f54d5d429f58414b82d347976bd5b
2 changes: 1 addition & 1 deletion includes/type/interface/class-product-with-variations.php
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ public static function register_interface(): void {
'ProductWithVariations',
[
'description' => __( 'A product with variations.', 'wp-graphql-woocommerce' ),
'interfaces' => [ 'Node', 'Product' ],
'interfaces' => [ 'Node', 'Product', 'ProductWithAttributes' ],
'fields' => self::get_fields(),
'connections' => self::get_connections(),
'resolveType' => [ Core::class, 'resolve_product_type' ],
Loading