error missing-provide
dep без provide.
What it means#
A dep name: T of a service impl needs a provide T = … for every role that serves the service (all roles when the provide has no for role; the implicit role all without a cluster).
Example#
data Db { name: str }
service Users { rpc dbName() -> str }
impl Users {
dep db: Db // <- missing-provide
rpc dbName() { db.name }
}error
missing-provide
How to fix#
Add provide Db = … (with for role r, … listing every role that serves the service).