Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Validation

bevy_talks never refuses to load a database because its content is wrong. Instead, validation is a separate, explicit step that reports problems:

use bevy_talks::prelude::validate;

for issue in validate(&db) {
    warn!("{issue}");
}

An empty result means the database is clean. The reported Issues:

IssueMeaning
DuplicateActortwo actors share an id
DuplicateConversationtwo conversations share an id
DuplicateEntrytwo entries in one conversation share an id
NoRoota conversation has no root entry
MultipleRootsa conversation has more than one root entry
DanglingLinka link points at a missing destination

The editor runs validation continuously and shows the result in its status bar.