graphql-engine/server/src-lib/Hasura/Backends/DataConnector/IR/Function.hs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
709 B
Haskell
Raw Normal View History

module Hasura.Backends.DataConnector.IR.Function (Name) where
--------------------------------------------------------------------------------
import Hasura.Backends.DataConnector.IR.Name qualified as IR.N
--------------------------------------------------------------------------------
-- | An alias for 'Name.Function' 'Name.Name's.
--
-- This alias is defined in its own module primarily for the convenience of
-- importing it qualified.
--
-- For example:
-- @
-- import Data.Coerce (coerce)
-- import Hasura.Experimental.IR.Function qualified as Function (Name)
--
-- example :: Function.Name
-- example = coerce @Text @Function.Name "function_name"
-- @
type Name = IR.N.Name 'IR.N.Function