-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Manner could define as many nested routes as wanted and could contain schema. Here's an example:
{
get: {
'/': {
route: () => {},
data: {
name: {
required: true
}
},
'/hello': {
}
}
}
}
if a path is an object it contains schema and/or sub routes. If it's a function it is a shortcut for the route prop.