From e59adf86ff70463d7b0951ef2f7ec094f56c1f1a Mon Sep 17 00:00:00 2001 From: Philip Lykke Carlsen Date: Thu, 8 Sep 2022 13:55:32 +0000 Subject: [PATCH] refactor(tests): Expose more Parser types in Hasura.GraphQL.Schema.Parser PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5684 GitOrigin-RevId: b23f26b19e25c88e6f0baab081d0674565789797 --- server/src-lib/Hasura/GraphQL/Schema/Parser.hs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/src-lib/Hasura/GraphQL/Schema/Parser.hs b/server/src-lib/Hasura/GraphQL/Schema/Parser.hs index a68a34a209b..089444d5098 100644 --- a/server/src-lib/Hasura/GraphQL/Schema/Parser.hs +++ b/server/src-lib/Hasura/GraphQL/Schema/Parser.hs @@ -31,6 +31,8 @@ module Hasura.GraphQL.Schema.Parser pattern P.FieldParser, InputFieldsParser, pattern P.InputFieldsParser, + InputObjectInfo, + pattern P.InputObjectInfo, Parser, pattern P.Parser, Schema, @@ -40,6 +42,7 @@ module Hasura.GraphQL.Schema.Parser Definition, pattern P.Definition, Type, + TypeInfo, Directive, pattern P.Directive, DirectiveInfo, @@ -80,12 +83,14 @@ import Hasura.GraphQL.Parser hiding HasTypeDefinitions, InputFieldInfo, InputFieldsParser, + InputObjectInfo, ParseErrorCode (..), Parser, Schema, SomeDefinitionTypeInfo, Type, TypeDefinitionsWrapper, + TypeInfo, ) import Hasura.GraphQL.Parser qualified as P import Hasura.Prelude @@ -102,8 +107,12 @@ type ConflictingDefinitions = P.ConflictingDefinitions MetadataObjId type Type = P.Type MetadataObjId +type TypeInfo = P.TypeInfo MetadataObjId + type InputFieldsParser = P.InputFieldsParser MetadataObjId +type InputObjectInfo = P.InputObjectInfo MetadataObjId + type Definition = P.Definition MetadataObjId type Directive = P.Directive MetadataObjId