napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Run.Effects.Interceptors.Validate

Synopsis

Documentation

interceptValidate :: forall b r a. Members [Assertion, SqlWrite b] r => MetaArguments -> SpecTableName -> SQLDialect -> Maybe CustomValidator -> Sem r a -> Sem r a #

Intercept a program with SqlBackend in it and apply a custom validation function.