graphql-engine/server/src-lib/Hasura/Function/Lenses.hs
Daniel Harvey 9a0c761b4a chore(server): remove Template Haskell from Hasura.Function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8992
GitOrigin-RevId: a06cf33a96d6ef8ad2234a385016b5e68c46b8f2
2023-04-28 14:14:26 +00:00

31 lines
616 B
Haskell

{-# LANGUAGE TemplateHaskell #-}
module Hasura.Function.Lenses
( fiComment,
fiDescription,
fiExposedAs,
fiGQLAggregateName,
fiGQLArgsName,
fiGQLName,
fiInputArgs,
fiJsonAggSelect,
fiPermissions,
fiReturnType,
fiSQLName,
fiSystemDefined,
fiVolatility,
fpmRole,
_IASessionVariables,
_IAUserProvided,
)
where
import Control.Lens (makeLenses, makePrisms)
import Hasura.Function.Cache (FunctionInfo (..), FunctionPermissionInfo (..), InputArgument (..))
$(makePrisms ''InputArgument)
$(makeLenses ''FunctionPermissionInfo)
$(makeLenses ''FunctionInfo)