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.
2 parents f8399f2 + 50968f4 commit 7a3fa63Copy full SHA for 7a3fa63
includes/type/object/class-order-type.php
@@ -276,7 +276,7 @@ public static function register() {
276
'type' => 'Order',
277
'description' => __( 'Parent order', 'wp-graphql-woocommerce' ),
278
'resolve' => function( $order, array $args, AppContext $context ) {
279
- return Factory::resolve_crud_object( $order->parent, $context );
+ return Factory::resolve_crud_object( $order->parent_id, $context );
280
},
281
),
282
'customer' => array(
0 commit comments