morpheus-graphql-core 0.28.4 → 0.28.5
raw patch · 4 files changed
+13/−12 lines, 4 filesdep ~aesondep ~megaparsecdep ~reludesetup-changedPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, megaparsec, relude
API changes (from Hackage documentation)
Files
- Setup.hs +2/−0
- morpheus-graphql-core.cabal +8/−8
- src/Data/Morpheus/Validation/Document/Interface.hs +2/−2
- src/Data/Morpheus/Validation/Internal/Arguments.hs +1/−2
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
morpheus-graphql-core.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.38.1.+-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack name: morpheus-graphql-core-version: 0.28.4+version: 0.28.5 synopsis: Morpheus GraphQL Core description: Build GraphQL APIs with your favorite functional language! category: web, graphql@@ -239,14 +239,14 @@ src ghc-options: -Wall build-depends:- aeson >=1.4.4 && <3.0.0+ aeson >=1.3.1.1 && <3.0.0 , base >=4.7.0 && <5.0.0 , bytestring >=0.10.4 && <1.0.0 , containers >=0.4.2.1 && <1.0.0 , hashable >=1.0.0 && <2.0.0- , megaparsec >=7.0.0 && <10.0.0+ , megaparsec >=6.5.0 && <10.0.0 , mtl >=2.0.0 && <3.0.0- , relude >=0.3.0 && <2.0.0+ , relude >=0.1.1 && <2.0.0 , scientific >=0.3.6.2 && <0.4.0 , template-haskell >=2.0.0 && <3.0.0 , text >=1.2.3 && <3.0.0@@ -265,17 +265,17 @@ test ghc-options: -Wall build-depends:- aeson >=1.4.4 && <3.0.0+ aeson >=1.3.1.1 && <3.0.0 , base >=4.7.0 && <5.0.0 , bytestring >=0.10.4 && <1.0.0 , containers >=0.4.2.1 && <1.0.0 , directory >=1.0.0 && <2.0.0 , hashable >=1.0.0 && <2.0.0- , megaparsec >=7.0.0 && <10.0.0+ , megaparsec >=6.5.0 && <10.0.0 , morpheus-graphql-core >=0.28.0 && <0.29.0 , morpheus-graphql-tests >=0.28.0 && <0.29.0 , mtl >=2.0.0 && <3.0.0- , relude >=0.3.0 && <2.0.0+ , relude >=0.1.1 && <2.0.0 , scientific >=0.3.6.2 && <0.4.0 , tasty >=0.1.0 && <2.0.0 , tasty-hunit >=0.1.0 && <1.0.0
src/Data/Morpheus/Validation/Document/Interface.hs view
@@ -95,8 +95,8 @@ subArguments `isCompatibleTo` arguments = traverse_ hasCompatibleSubArgument arguments where hasCompatibleSubArgument argument =- inArgument (keyOf argument)- $ selectOr (failImplements Missing) (`isCompatibleTo` argument) (keyOf argument) subArguments+ inArgument (keyOf argument) $+ selectOr (failImplements Missing) (`isCompatibleTo` argument) (keyOf argument) subArguments instance StructuralCompatibility (ArgumentDefinition s) where isCompatibleTo = isCompatibleBy (fieldType . argument)
src/Data/Morpheus/Validation/Internal/Arguments.hs view
@@ -60,8 +60,7 @@ import Relude hiding (empty) type VariableConstraints ctx =- ( MissingRequired (VariableDefinitions VALID) ctx- )+ (MissingRequired (VariableDefinitions VALID) ctx) type ArgumentsConstraints c schemaS valueS = ( Resolve Argument valueS c,