Comments (18)
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.
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.
Hey guys, this fix is merged and tagged, thanks for your patience.
https://github.com/dingo/api/releases/tag/v3.0.6
from api.
me too.
Framework version 8.28.0
from api.
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.
me too.
from api.
getting same error
from api.
me too
from api.
same here
from api.
but php artisan route:list, work for me,
from api.
The issue is caused by the change done in this commit laravel/framework@d9e28dc
from api.
The issue is caused by the change done in this commit laravel/framework@d9e28dc
so how do we resolve this?
from api.
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.
Thanks a lot, it fixed everything. Are you going to make a PR @gonpre?
from api.
Will this ever be merged?
from api.
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.
Will this ever be merged?
#1771 (comment) refer to this, maybe no
from api.
Same issue here. Its stupid that such errors might occur, why Laravel does not provide any interface for router?
from api.
Related Issues (20)
- Can't install in laravel6 HOT 2
- front-end when i call api then getting 405 Method Not Allowed HOT 3
- Missing required parameter for [Route: users.show] [URI: api/users/{id}] [Missing parameter: id]
- $api->resoure () report an error,flushMiddlewareGroups method not work HOT 1
- How to use middleware with multiple auth provider? HOT 3
- The version given was unknown or has no registered routes.
- Bug with PHPUnit coverage: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Dingo\Api\Contract\Routing\Adapter] is not instantiable while building [Dingo\Api\Routing\Router] HOT 1
- When declaring multiple resource routes, all but the first fail to pass the parameter correctly.
- In Handler.php line 67: Dingo\Api\Exception\Handler::__construct(): Argument #2 ($format) must be of type array, null given, called in /dingo/api/src/Provider/DingoServiceProvider.php on line 123 HOT 1
- $appends variables function got additional 3 times execution
- Djdnxb
- Ảnh
- Whether it will be updated HOT 1
- Getting this error "Unable to resolve transformer binding"
- API
- Laravel 9 issue while try to install dingo HOT 1
- #Luděk
- Nasa
- N
- Weeeeee
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.