Releases
0.15.0
morpheus-graphql
new features
custom operation root types: e.g RootResolver IO () MyQuery MyMutation Undefined
type : App event m
and deriveApp
App
supports semigroup(schema Stitching
): if whe have two graphql apps
GQLType
exposes typeOptions
to modify labels: typeOptions :: f a -> GQLTypeOptions
you can use GQLType.getDescriptions
to document field or enum Values
breaking Changes
importGQLDocumentWithNamespace
they will be namespaced enum Values
Argument types must have GQLType
instances
in Data.Morpheus.Server
:
removed subscriptionApp
changed webSocketsApp
type to App e m -> m (ServerApp, e -> m ())
changed httpPubApp
type to [e -> m ()] -> App e m -> a -> m b
removed Stream
from Data.Morpheus.Types
removed class Interpreter
, interpreter
is now just regular function.
morpheus-graphql-core
new features
render
renders SchemaDefinition e.g
query validator automatically adds __typename
to interface types
type : App
App
supports semigroup(schema Stitching
):
runApp
changed signature to:
breaking Changes
morpheus-graphql-client
client capitalizes type names #519
fixed client error on field __typename
#509
internal refactoring
You can’t perform that action at this time.