Routes
dev.cheleb.ziotapir.server.Routes
A trait that provides a method to gather all the routes from a controllers.
The controllers are created in the makeControllers method, which is a ZIO effect that requires a context of type Deps. This allows the routes to have access to any dependencies they need, such as a database connection or a configuration object.
Type parameters
- Deps
-
The type of the context that the routes require.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article