E10 Open Contract YAML Editor
Use your current course session. Preparation and course runner · R script ↓
E10 Open Contract YAML Editor
Goal: Edit a saved contract.
Prerequisites: V10a; Positron or VS Code; plain editing needs no live R connection.
MANUAL: Open policies.contract.yaml and run DataRaft: Open Contract YAML Editor. Change a description, inspect Preview and try Discard. Edit again and Apply. Apply leaves the buffer unsaved; save deliberately afterward.
training_step(
"E10",
{
print(odcs_path)
},
needs = c("V10a"),
enabled = training_options$gui,
optional = TRUE
)Expected result: You can distinguish preview, discarded edits and applied edits. Saving is not automatic.
Task: Why change only a description first?
Show solution
It lets you learn the editor without changing the business schema.