mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
dc73b7b7d5
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
23 lines
705 B
Haskell
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
|