Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- type ValidateAndPreprocess bk = (ReifiesBackend bk, MustacheBackend bk, RunBackendEffect bk)
- validateSpecs :: forall m bk. (MonadIO m, ValidateAndPreprocess bk, Show (BackendTableMeta bk), Show (BackendViewMeta bk), Show (BackendMaterializedViewMeta bk)) => RuntimeEnv -> RawInterpretedSpec bk -> m (Either (NonEmpty ValidationError) (ValidatedInterpretedSpec bk))
Documentation
type ValidateAndPreprocess bk = (ReifiesBackend bk, MustacheBackend bk, RunBackendEffect bk) #
validateSpecs :: forall m bk. (MonadIO m, ValidateAndPreprocess bk, Show (BackendTableMeta bk), Show (BackendViewMeta bk), Show (BackendMaterializedViewMeta bk)) => RuntimeEnv -> RawInterpretedSpec bk -> m (Either (NonEmpty ValidationError) (ValidatedInterpretedSpec bk)) #
Run basic checks against all Specs