graphql-engine/server/src-lib/Hasura/Backends/DataWrapper/IR/Function.hs
jkachmar dc73b7b7d5 server: Renames the experimental backend modules
No logic in this PR, just tidying things up (renaming the backend from `Experimental` to `DataWrapper`).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3779
GitOrigin-RevId: f11acf563ccd8b9f16bc23c5e92da392aa4cfb2c
2022-02-25 16:09:17 +00:00

23 lines
705 B
Haskell

module Hasura.Backends.DataWrapper.IR.Function (Name) where
--------------------------------------------------------------------------------
import Hasura.Backends.DataWrapper.IR.Name qualified as Name
--------------------------------------------------------------------------------
-- | 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 = Name.Name 'Name.Function