Currently the routing mechanism works by dynamically changing routes if projects are created, updated or deleted. There are several drawbacks using this method:
The routes must be synchronized between nodes in the cluster mode
404 messages cannot be specific (The error message cannot tell the user that the project could not be found)
I propose to not dynamically add routes during runtime. This can be achieved by having the project name as a path parameter in the routes. Doing this would solve the mentioned problems.
Currently the routing mechanism works by dynamically changing routes if projects are created, updated or deleted. There are several drawbacks using this method:
I propose to not dynamically add routes during runtime. This can be achieved by having the project name as a path parameter in the routes. Doing this would solve the mentioned problems.