Coder Social home page Coder Social logo

Comments (6)

vivek-webkul avatar vivek-webkul commented on June 15, 2024 7

Hi @devlamine

Currently, this project supports Bagisto v1.3.x
https://github.com/bagisto/headless-ecommerce#1-requirements

We will provide support for 1.4.x very soon.

from headless-ecommerce.

devlamine avatar devlamine commented on June 15, 2024

I have same error and when I install manualy I have this message :

eclaration of Webkul\GraphQLAPI\Models\User\Admin::getJWTCustomClaims() must be compatible with Webkul\User\Models\Admin::getJWTCustomClaims(): array

  at vendor/bagisto/graphql-api/src/Models/User/Admin.php:53
     49▕      * Return a key value array, containing any custom claims to be added to the JWT.
     50▕      *
     51▕      * @return array
     52▕      */
  ➜  53▕     public function getJWTCustomClaims()
     54▕     {
     55▕         return [];
     56▕     }
     57▕ }

from headless-ecommerce.

vivek-webkul avatar vivek-webkul commented on June 15, 2024

Hi @naramwork & @devlamine
Please mention your Bagisto version also.

from headless-ecommerce.

devlamine avatar devlamine commented on June 15, 2024

hi, @vivek-webkul v1.4.1

from headless-ecommerce.

rzuzo avatar rzuzo commented on June 15, 2024

Hello, are there maybe any updates for the 1.4.x support?

We are setting up the bagisto laravel shop with a vue storefront and encountered the same error as mentioned by @naramwork .

Thanks

from headless-ecommerce.

ashishkumar-webkul avatar ashishkumar-webkul commented on June 15, 2024

Bagisto - V1.4.3

Checked and Found that the Issue is Fixed and Just what is need to be done just after the bagisto installation run the command

composer require bagisto/graphql-api:dev-main

Video/Screenshot

Tymon.issue.is.resolved.mp4

from headless-ecommerce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.