mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
3ea611f9fd
* [skip ci] use the args while making the fieldParser * modify the execution part of the remote queries * parse union queries deeply * add test for remote schema field validation * add tests for validating remote query arguments Co-authored-by: Auke Booij <auke@hasura.io> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
55 lines
1.1 KiB
Haskell
55 lines
1.1 KiB
Haskell
-- | This module exports the public API to our internal GraphQL query parser
|
|
-- combinator language. For more details, see the documentation for 'Parser'.
|
|
module Hasura.GraphQL.Parser
|
|
( Parser
|
|
, parserType
|
|
, runParser
|
|
, bind
|
|
, bindFields
|
|
|
|
, ScalarRepresentation(..)
|
|
, scalar
|
|
, boolean
|
|
, int
|
|
, float
|
|
, string
|
|
, identifier
|
|
, unsafeRawScalar
|
|
|
|
, enum
|
|
, nullable
|
|
, list
|
|
, object
|
|
, selectionSet
|
|
, safeSelectionSet
|
|
, selectionSetObject
|
|
|
|
, InputFieldsParser
|
|
, field
|
|
, fieldWithDefault
|
|
, fieldOptional
|
|
|
|
, FieldParser
|
|
, ParsedSelection(..)
|
|
, handleTypename
|
|
, selection
|
|
, rawSelection
|
|
, selection_
|
|
, subselection
|
|
, rawSubselection
|
|
, subselection_
|
|
|
|
, jsonToGraphQL
|
|
|
|
, module Hasura.GraphQL.Parser.Class
|
|
, module Hasura.GraphQL.Parser.Column
|
|
, module Hasura.GraphQL.Parser.Monad
|
|
, module Hasura.GraphQL.Parser.Schema
|
|
) where
|
|
|
|
import Hasura.GraphQL.Parser.Class
|
|
import Hasura.GraphQL.Parser.Column
|
|
import Hasura.GraphQL.Parser.Internal.Parser
|
|
import Hasura.GraphQL.Parser.Monad
|
|
import Hasura.GraphQL.Parser.Schema
|