Unify inline and bound schema preparation
This commit is contained in:
@@ -28,5 +28,5 @@ type PreparedValidation interface {
|
||||
// decoding and compilation. Filesystem and compiler calls remain synchronous,
|
||||
// so cancellation becomes authoritative when an in-progress call returns.
|
||||
type ValidationPreparer interface {
|
||||
PrepareValidation(ctx context.Context, contract domain.OutputContract) (PreparedValidation, error)
|
||||
PrepareValidation(ctx context.Context, input Input) (PreparedValidation, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user