IHP Api Reference
Safe HaskellNone

IHP.DataSync.REST.Controller

Documentation

renderErrorJson :: (?context :: ControllerContext, ToJSON json) => json -> IO () Source #

Orphan instances

ToJSON UndecodedJSON Source # 
Instance details

ToJSON GraphQLResult Source # 
Instance details

ToJSON EnhancedSqlError Source # 
Instance details

ToJSON SqlError Source # 
Instance details

Methods

toJSON :: SqlError -> Value #

toEncoding :: SqlError -> Encoding #

toJSONList :: [SqlError] -> Value #

toEncodingList :: [SqlError] -> Encoding #

omitField :: SqlError -> Bool #

ParamReader OrderByClause Source # 
Instance details

ParamReader SelectedColumns Source # 
Instance details

(ToField (PrimaryKey (GetTableName CurrentUserRecord)), Show (PrimaryKey (GetTableName CurrentUserRecord)), HasNewSessionUrl CurrentUserRecord, Typeable CurrentUserRecord, HasField "id" CurrentUserRecord (Id' (GetTableName CurrentUserRecord))) => Controller ApiController Source # 
Instance details