| .. | ||
| main.dcdl | ||
| profiles.dcdl | ||
| README.md | ||
| schema.dcdl | ||
Advanced Decodal example
This example exercises multiple current Decodal features together:
- multi-file
import - top-level recursive module scope
- schema/value composition with
& - deep patch with
// defaultfallback during materialization- constrained function parameters
- lazy function arguments
matchexpressions- nested dot-path fields
- arrays
Run it with:
cargo run -q -p decodal -- examples/advanced/main.dcdl
The entrypoint is main.dcdl.