IHP Api Reference
Safe HaskellSafe-Inferred

IHP.ValidationSupport.ValidateCanView

Documentation

validateCanView :: forall field user model validationState fieldValue fetchedModel. (?model :: model, ?modelContext :: ModelContext, FromRow fetchedModel, KnownSymbol field, HasField field model fieldValue, Fetchable fieldValue fetchedModel, CanView user fetchedModel, ValidateCanView' fieldValue fetchedModel, HasField "meta" user MetaBag, SetField "meta" user MetaBag, Table fetchedModel) => Proxy field -> user -> IO user Source #