Skip to main content

Module route_handler

Module route_handler 

Source
Expand description

Route REST handlers

Generated by metaphor-schema. Do not edit manually.

Uses Axum and backbone-core’s BackboneCrudHandler for all 12 CRUD endpoints.

Enums§

RouteError
Application error type

Functions§

create_route_read_routes
Create Axum router with only the read (GET) endpoints for Route.
create_route_routes
Create Axum router with all 16 Backbone endpoints for Route.
create_route_write_routes
Create Axum router with only the write (mutation) endpoints for Route.
route_permissions
The permissions this entity’s generic routes require: route:<action> for read, create, update, delete, restore and purge, with any rename the schema’s requires: declares.