GithubHelp home page GithubHelp logo

Comments (18)

cacing69 avatar cacing69 commented on May 27, 2024 3

Thanks a lot, it fixed everything. Are you going to make a PR @gonpre?

yes, I already did, hope this could be merged soon

i will close this issue when yout PR has been merged

from api.

gonpre avatar gonpre commented on May 27, 2024 2

Thanks a lot, it fixed everything. Are you going to make a PR @gonpre?

yes, I already did, hope this could be merged soon

from api.

specialtactics avatar specialtactics commented on May 27, 2024 1

Hey guys, this fix is merged and tagged, thanks for your patience.

https://github.com/dingo/api/releases/tag/v3.0.6

from api.

xuechu avatar xuechu commented on May 27, 2024

me too.
Framework version 8.28.0

from api.

xuechu avatar xuechu commented on May 27, 2024

v8.28.0
Fixed
Fix undefined property with sole query (#36216)
Resolving non-instantiables corrupts Container::$with (#36212)
Fix attribute nesting on anonymous components (#36240)
Ensure $prefix is a string (#36254)
Add missing import (#34569)
Align PHP 8.1 behavior of e() (#36262)
Ensure null values won't break on PHP 8.1 (#36264)
Handle directive $value as a string (#36260)
Use explicit flag as default sorting (#36261)

Fix middleware group display (d9e28dc)

from api.

cherrynechou avatar cherrynechou commented on May 27, 2024

me too.

from api.

hamza-younas94 avatar hamza-younas94 commented on May 27, 2024

getting same error

from api.

mrodriguezt avatar mrodriguezt commented on May 27, 2024

me too

from api.

xbrunosousa avatar xbrunosousa commented on May 27, 2024

same here

from api.

cacing69 avatar cacing69 commented on May 27, 2024

but php artisan route:list, work for me,

from api.

gonpre avatar gonpre commented on May 27, 2024

The issue is caused by the change done in this commit laravel/framework@d9e28dc

from api.

kfoon avatar kfoon commented on May 27, 2024

The issue is caused by the change done in this commit laravel/framework@d9e28dc

so how do we resolve this?

from api.

gonpre avatar gonpre commented on May 27, 2024

The issue is caused by the change done in this commit laravel/framework@d9e28dc

so how do we resolve this?

What I did was to add this code:

    /**
     * Flush the router's middleware groups.
     *
     * @return $this
     */
    public function flushMiddlewareGroups()
    {
        return $this;
    }

on the file vendor/dingo/api/src/Routing/Router.php to be able to run the api:routes command.

from api.

bastienuh avatar bastienuh commented on May 27, 2024

Thanks a lot, it fixed everything. Are you going to make a PR @gonpre?

from api.

MrEldin avatar MrEldin commented on May 27, 2024

Will this ever be merged?

from api.

gonpre avatar gonpre commented on May 27, 2024

Will this ever be merged?

no idea, meanwhile I changed my composer file to use my repo with the fix instead, maybe this will help you too

    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/gonpre/api"
        }
    ],
    "require": {
        "dingo/api": "dev-bugfix/1770_api_routes_error_laravel_8",

from api.

cacing69 avatar cacing69 commented on May 27, 2024

Will this ever be merged?

#1771 (comment) refer to this, maybe no

from api.

vytsci avatar vytsci commented on May 27, 2024

Same issue here. Its stupid that such errors might occur, why Laravel does not provide any interface for router?

from api.

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.