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
66 stars 39 forks source link

When will the Bajitsu 2.1.2 version be released? #247

Open imanbahmani opened 2 months ago

imanbahmani commented 2 months ago

I have version 2.1.2 and I'm having trouble installing it through Composer I wanted to know when a version compatible with this version will be released?

imanbahmani commented 2 months ago

please help me about this

AHMED-GAMAL-AG commented 2 months ago

i have the same problem @vivek-webkul ?

installing using composer i get

Symfony\Component\ErrorHandler\Error\FatalError

  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

  at vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php:14
     10▕ {
     11▕     /**
     12▕      * Get the Catalog rule Product that owns the catalog rule.
     13▕      */
  ➜  14▕     public function catalog_rule_products()
     15▕     {
     16▕         return $this->hasMany(CatalogRuleProductProxy::modelClass());
     17▕     }
     18▕

   Whoops\Exception\ErrorException

  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

  at vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php:14
     10▕ {
     11▕     /**
     12▕      * Get the Catalog rule Product that owns the catalog rule.
     13▕      */
  ➜  14▕     public function catalog_rule_products()
     15▕     {
     16▕         return $this->hasMany(CatalogRuleProductProxy::modelClass());
     17▕     }
     18▕

  1   vendor\filp\whoops\src\Whoops\Run.php:510
      Whoops\Run::handleError("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", "C:\Users\ahmed\Herd\bagisto\vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php")

  2   [internal]:0
      Whoops\Run::handleShutdown()

PHP Fatal error:  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 in C:\Users\ahmed\Herd\bagisto\vendor\bagisto\graphql-api\src\Models\CatalogRule\CatalogRule.php on line 14
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255
Anmol-Chauhan commented 1 month ago

@AHMED-GAMAL-AG, I have checked and there is no such issue if you use Bagisto v2.0.0 and GraphQL v2.0.0, all is working fine. APIs are not compatible with the latest version of bagisto, The Team is working on it and will provide the updated APIs soon.

Screenshot from 2024-05-08 11-21-15 Screenshot from 2024-05-08 11-20-41 Screenshot from 2024-05-08 11-20-22

Anmol-Chauhan commented 1 month ago

@imanbahmani, The Team is working on it and will provide the updated APIs soon.

imanbahmani commented 1 month ago

@imanbahmani, The Team is working on it and will provide the updated APIs soon.

It will be fully updated in about two weeks?

Anmol-Chauhan commented 1 month ago

@imanbahmani, In two weeks, we will update the front end completely.

imanbahmani commented 3 weeks ago

When will this version be released?

imanbahmani commented 6 days ago

When will this version 2.1.2 be released?