From 6271da79d6577f6af639d25ff4b7de12ce808dc8 Mon Sep 17 00:00:00 2001 From: Rory Campbell Date: Fri, 12 Apr 2024 10:50:13 +0200 Subject: [PATCH] remove unused imports --- src/GraphQL/Client/ToGqlString.purs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/GraphQL/Client/ToGqlString.purs b/src/GraphQL/Client/ToGqlString.purs index 04bf43e..f9335d4 100644 --- a/src/GraphQL/Client/ToGqlString.purs +++ b/src/GraphQL/Client/ToGqlString.purs @@ -33,8 +33,6 @@ module GraphQL.Client.ToGqlString import Prelude -import Data.Argonaut.Decode (class DecodeJson) -import Data.Argonaut.Encode (class EncodeJson) import Data.Array (fold, foldMap, intercalate, length, mapWithIndex) import Data.Array as Array import Data.Date (Date) @@ -49,7 +47,7 @@ import Data.Map (Map) import Data.Map as Map import Data.Maybe (Maybe(..), isJust, maybe) import Data.Monoid (guard, power) -import Data.Newtype (class Newtype, unwrap) +import Data.Newtype (unwrap) import Data.String (codePointFromChar, fromCodePointArray, joinWith, toCodePointArray) import Data.String.CodeUnits as String import Data.String.Regex (split) @@ -70,8 +68,6 @@ import GraphQL.Client.NullArray (NullArray) import GraphQL.Client.Union (GqlUnion(..)) import GraphQL.Client.Variable (Var) import GraphQL.Client.Variables (WithVars, getQuery) -import GraphQL.Hasura.Decode (class DecodeHasura) -import GraphQL.Hasura.Encode (class EncodeHasura) import Heterogeneous.Folding (class FoldingWithIndex, class HFoldlWithIndex, hfoldlWithIndex) import Type.Proxy (Proxy(..)) import Unsafe.Coerce (unsafeCoerce) @@ -426,9 +422,6 @@ instance propToGqlArg :: `List.Cons` kvs --- pre <> reflectSymbol prop <> ": " <> toGqlArgStringImpl a --- where --- pre = if str == "" then "" else str <> ", " gqlArgStringRecord :: forall r . HFoldlWithIndex PropToGqlArg KeyVals { | r } KeyVals