graphql-engine/server/src-lib/Hasura/NativeQuery/Lenses.hs
2023-07-10 13:47:25 +00:00

26 lines
546 B
Haskell

{-# LANGUAGE TemplateHaskell #-}
module Hasura.NativeQuery.Lenses
( nqiRootFieldName,
nqiRelationships,
nqiCode,
nqiReturns,
nqiArguments,
nqiDescription,
nqmArguments,
nqmObjectRelationships,
nqmCode,
nqmDescription,
nqmReturns,
nqmArrayRelationships,
nqmRootFieldName,
)
where
import Control.Lens (makeLenses)
import Hasura.NativeQuery.Cache (NativeQueryInfo (..))
import Hasura.NativeQuery.Metadata (NativeQueryMetadata (..))
makeLenses ''NativeQueryMetadata
makeLenses ''NativeQueryInfo