1
Fork 0
mirror of https://github.com/Airsequel/AirGQL.git synced 2025-08-13 10:16:57 +03:00

Split off introspection tests into their own file

This commit is contained in:
prescientmoon 2024-11-08 14:29:27 +01:00
commit 346a0e017c
4 changed files with 854 additions and 884 deletions
source/AirGQL/Introspection

View file

@ -151,7 +151,7 @@ makeField field = do
pure $ Out.Field field.description ty $ HashMap.fromList args
-- | Create a resolver by calling which always returns a constant value.
-- | Create a resolver which always returns a constant value.
makeConstField :: IType.Field -> Type.Value -> Result (Out.Resolver IO)
makeConstField field value = do
gqlField <- makeField field