File tree Expand file tree Collapse file tree 8 files changed +12
-11
lines changed
Expand file tree Collapse file tree 8 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Breaking changes
99----------------
1010
1111* ``Enum `` handlers are now monadic (see `#118 `_)
12+ * restrict usage to Protolude 0.2.1 and later
1213
1314.. _`#118` : https://github.com/jml/graphql-api/issues/118
1415
Original file line number Diff line number Diff line change 22--
33-- see: https://github.com/sol/hpack
44--
5- -- hash: 6aa09d512e2d1e86eeb059e1273005913985418db5c8f94b7361af87744e6bae
5+ -- hash: 39113cf0b3911f4704bf80289a842f6a6cad623940e0146c3af99de590799257
66
77name : graphql-api
88version : 0.2.0
@@ -36,7 +36,7 @@ library
3636 , containers
3737 , exceptions
3838 , ghc-prim
39- , protolude >= 0.2
39+ , protolude >= 0.2.1
4040 , scientific
4141 , text
4242 , transformers
@@ -75,7 +75,7 @@ test-suite graphql-api-doctests
7575 , base >= 4.9 && < 5
7676 , doctest
7777 , exceptions
78- , protolude >= 0.2
78+ , protolude >= 0.2.1
7979 , transformers
8080 other-modules :
8181 ASTTests
@@ -110,7 +110,7 @@ test-suite graphql-api-tests
110110 , exceptions
111111 , graphql-api
112112 , hspec
113- , protolude >= 0.2
113+ , protolude >= 0.2.1
114114 , raw-strings-qq
115115 , tasty
116116 , tasty-hspec
@@ -144,7 +144,7 @@ benchmark criterion
144144 , criterion
145145 , exceptions
146146 , graphql-api
147- , protolude >= 0.2
147+ , protolude >= 0.2.1
148148 , transformers
149149 other-modules :
150150 Validation
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ default-extensions:
2020
2121dependencies :
2222 - base >= 4.9 && < 5
23- - protolude >= 0.2
23+ - protolude >= 0.2.1
2424 - exceptions
2525 - transformers
2626 - attoparsec
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ module GraphQL.Internal.Schema
4040 , lookupType
4141 ) where
4242
43- import Protolude
43+ import Protolude hiding ( Type )
4444
4545import qualified Data.Map as Map
4646import GraphQL.Value (Value )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ module GraphQL.Internal.Syntax.AST
4646 , TypeExtensionDefinition (.. )
4747 ) where
4848
49- import Protolude
49+ import Protolude hiding ( Type )
5050
5151-- import Data.String (IsString(..))
5252import Test.QuickCheck (Arbitrary (.. ), listOf , oneof )
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ module GraphQL.Internal.Validation
5858 , findDuplicates
5959 ) where
6060
61- import Protolude hiding ((<>) )
61+ import Protolude hiding ((<>) , throwE )
6262
6363import Data.List.NonEmpty (NonEmpty (.. ))
6464import qualified Data.List.NonEmpty as NonEmpty
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ module GraphQL.Resolver
3030-- - Directives (https://facebook.github.io/graphql/#sec-Type-System.Directives)
3131-- - Enforce non-empty lists (might only be doable via value-level validation)
3232
33- import Protolude hiding (Enum , TypeError )
33+ import Protolude hiding (Enum , TypeError , throwE )
3434
3535import qualified Data.Text as Text
3636import qualified Data.List.NonEmpty as NonEmpty
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ packages:
77 - " ./graphql-wai"
88
99extra-deps :
10- - protolude-0.2
10+ - protolude-0.2.1
You can’t perform that action at this time.
0 commit comments