mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 13:31:43 +03:00
63cff8b731
This commit introduces an "experimental" backend adapter to the GraphQL Engine. It defines a high-level interface which will eventually be used as the basis for implementing separate data source query generation & marshaling services that communicate with the GraphQL Engine Server via some protocol. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2684 Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com> Co-authored-by: Chris Parks <592078+cdparks@users.noreply.github.com> GitOrigin-RevId: 4463b682142ad6e069e223b88b14db511f634768
26 lines
672 B
Haskell
26 lines
672 B
Haskell
module Hasura.Experimental.IR.Table
|
|
( Name,
|
|
)
|
|
where
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
import Hasura.Experimental.IR.Name qualified as Name
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- | An alias for 'Name.Table' '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.Table qualified as Table (Name)
|
|
--
|
|
-- example :: Table.Name
|
|
-- example = coerce @Text @Table.Name "table_name"
|
|
-- @
|
|
type Name = Name.Name 'Name.Table
|