Skip to main content

lifecycle_driver_migration_warning

Function lifecycle_driver_migration_warning 

Source
fn lifecycle_driver_migration_warning(
    package_name: &str,
    explicit_driver_contract: Option<&str>,
) -> Option<String>
Expand description

Return the migration warning emitted by rbnx start for a non-shared Driver declaration. Runtime registration later proves whether it is the provider’s exact namespace legacy contract before accepting it.

The warning lives in rbnx, rather than in a language SDK, so native and non-Python providers receive the same guidance. Legacy contracts remain exact namespace legacy contracts remain supported; the warning only describes the incremental migration.