question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to remove routes from route chart

See original GitHub issue

DESCRIPTION

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:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
llebccommented, Aug 25, 2021

@maurei Thank you for confirming, going to go ahead and close the issue. Thank you very much.

0reactions
llebccommented, Sep 13, 2021

@llebc the update on our progress on a swagger integration can be found at #1046

Thanks @maurei, much appreciated.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found