napkin-0.5.12
Safe HaskellNone
LanguageHaskell2010

Napkin.Run.Effects.Interceptors.Validate

Synopsis

Documentation

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

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