Unable to remove routes from route chart
See original GitHub issueDESCRIPTION
Sometimes there’s a scenerio where I don’t want to enable certain routes. I.E having a read-only route which has just a GET for the list and a GET for the find.
/users
/users/1
STEPS TO REPRODUCE
Create a new project and add a model + controller. All routes will be generated with relationships etc.
EXPECTED BEHAVIOR
Having a option to specify the routes which are allowed. No specification should lead to all routes being active.
[AllowedRoutes('find', 'index')]
ACTUAL BEHAVIOR
All routes are generated no matter the controller.
VERSIONS USED
- JsonApiDotNetCore version:
- ASP.NET Core version: 5
- Entity Framework Core version: 5.0.9
- Database provider: SQL Server 4.2.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How do I delete a route from Linux routing table
The routes I want to delete are the "!" rejected routes, but I can't seem to formulate the right "route del" command to...
Read more >cannot delete routes from routing table
Hi, Am trying to delete some routes from routing table on windows. I keep getting error "the route specified was not found" have...
Read more >AWS VPC Cannot delete routing rule to inexistent IP range
When I went to modify the route table the 172.31.0.0/16 and the 10.0.0.0/8 rules cannot be deleted so I can only assume they...
Read more >Can't delete a route with 0.0.0.0 gateway
To delete a single route from a route table, you need to specify enough parameters so a unique match with one of the...
Read more >Remove local target from AWS Route Table
The local routes (VPC CIDR) are auto added in the "Main" table, which you can't remove, but can change the destination to be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@maurei Thank you for confirming, going to go ahead and close the issue. Thank you very much.
Thanks @maurei, much appreciated.