'RootQuery', 'toType' => 'ShippingMethod', 'fromFieldName' => 'shippingMethods', 'connectionArgs' => array(), 'resolveNode' => function( $id, $args, $context, $info ) { return Factory::resolve_shipping_method( $id ); }, 'resolve' => function ( $source, $args, $context, $info ) { return Factory::resolve_shipping_method_connection( $source, $args, $context, $info ); }, ); return array_merge( $defaults, $args ); } }