namespaceRegistry namespace.Registry,
historyClient historyservice.HistoryServiceClient,
return &taskValidatorImpl{
tqCtx: tqCtx,
clusterMetadata: clusterMetadata,
namespaceRegistry: namespaceRegistry,
historyClient: historyClient,
}
}
func (v *taskValidatorImpl) maybeValidate(