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, DumpBackendRequirements 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, DumpBackendRequirements bk) => RuntimeEnv -> RawInterpretedSpec bk -> m (Either (NonEmpty ValidationError) (ValidatedInterpretedSpec bk)) #
Run basic checks against all Specs