bagisto / headless-ecommerce

Laravel Headless eCommerce APIs allow you to experience seamless and easily scalable storefront performance. An open-source and GraphQL based Rest API Laravel platform delivering ultra-fast, dynamic, and personalized shopping experiences.
https://bagisto.com/en/headless-ecommerce/
MIT License
67 stars 40 forks source link

composer require bagisto/graphql-api dev-main failed with Bagisto v2.1.2 #211

Closed liuchiente closed 3 months ago

liuchiente commented 3 months ago

Declaration of Webkul\GraphQLAPI\Models\CatalogRule\CatalogRule::catalog_rule_products() must be compatible with Webkul\CatalogRule\Models\CatalogRule::catalog_rule_products(): Illuminate\Database\Eloquent\Relations\HasMany

Anmol-Chauhan commented 3 months ago

@NishantSharma12, check this for v2.0.0 and update accordingly

NishantSharma12 commented 3 months ago

@liuchiente Currently it's compatible with v2.0.0 We are working on some issues and after fixing the issues we will update this for v2.1.2

Please check the below screenshot for compatibility with v2.0.0

Screenshot from 2024-03-11 13-22-00