Skip to content

Manner with native schema #36

@bredele

Description

@bredele

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions