Hello @josuex220
And if you want to make it compatible to the latest version go to
vendor >> bagisto >> graphql-api >> src >> Models >> CatalogRule >> CatalogRule.php this file and make a slight change in these two functions i.e. catalog_rule_products() and catalog_rule_product_prices() and apply return type HasMany as shown in the below image.
changes.png
and then run this below command
composer require bagisto/graphql-api dev-main
Thanks & Regards..!!