Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not generate "/edit" route during API generation #1562
When generating a project with "--api" you get a route an /edit route for each ressource.
Example of routes :
GET | /chats | | chatsPath | generatedApps/tst2/actions.ChatsResource.List
In API mode the "/Edit" route is not required, and shall not be produced. Limitating the surface of the API.
go version go1.10.4 linux/amd64
This isn't as straightforward as it appears. It could introduce breaking changes and will need to be investigated further.
So in order to not generate routes for
I'm not saying this can't be done, but it requires a decent amount of thought and planning before it can be implemented, as it has the potential to be a breaking change.
I consider this to be out of scope for the