mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
4f835623b1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4400 GitOrigin-RevId: 2d90542f95ef4dad70c8dfe1ca3b4c1f3bdaa527
26 lines
700 B
Haskell
26 lines
700 B
Haskell
module Hasura.Backends.DataConnector.IR.Column
|
|
( Name,
|
|
)
|
|
where
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
import Hasura.Backends.DataConnector.IR.Name qualified as IR.N
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- | An alias for 'Name.Column' '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.Column qualified as Column (Name)
|
|
--
|
|
-- example :: Column.Name
|
|
-- example = coerce @Text @Column.Name "column_name"
|
|
-- @
|
|
type Name = IR.N.Name 'IR.N.Column
|