graphql-engine/server/src-lib/Hasura/Backends/DataWrapper/IR/Column.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

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