interface
ProjectDriver
Application-compiled callbacks behind adapter-owned project migration commands.
Properties
| Property | Type | Description |
|---|---|---|
Validate | func() error | Validate checks the complete executable registration before a project command resolves config or changes database state. |
DataTransforms | func() []DataTransformDescriptor | The DataTransforms value. |
RunProjectMigration | func(context.Context, | RunProjectMigration receives the exact manifest resolved by the process that will execute the request. The driver must validate it against the selected artifact history before opening or changing the database. |
Full signature
type ProjectDriver interface {
// Validate checks the complete executable registration before a project
// command resolves config or changes database state.
Validate() error
DataTransforms() []DataTransformDescriptor
// RunProjectMigration receives the exact manifest resolved by the process
// that will execute the request. The driver must validate it against the
// selected artifact history before opening or changing the database.
RunProjectMigration(context.Context, ProjectRequest, schema.Manifest) error
}