mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +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
26 lines
696 B
Haskell
26 lines
696 B
Haskell
module Hasura.Backends.DataWrapper.IR.Column
|
|
( Name,
|
|
)
|
|
where
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
import Hasura.Backends.DataWrapper.IR.Name qualified as Name
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- | 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 = Name.Name 'Name.Column
|