Recipes¶
Task-shaped how-tos. Each one is self-contained and assumes you've read the Quickstart and Concepts.
- Custom action with
@service_action— add a non-CRUD action to a viewset and route it through the same validate-dispatch-render flow as the standard mutations. - Compose your own viewset — pick the per-
action mixins you actually need instead of starting from
ServiceViewSet. - Pass extra kwargs to services — surface a
tenant, a feature flag, or a test clock to your services without
threading it through
request. - Scaffold a service app —
startserviceappand the convention behindservices/,selectors/,validators/.