morpheus-graphql v0.16.0 Release Notes
Release Date: 2020-11-05 // over 3 years ago-
morpheus-graphql
๐ฅ Breaking changes
- subscriptions are extracted in
morpheus-graphql-subscriptions
. - ๐
Event
,httpPubApp
andwebSocketsApp
movedData.Morpheus.Subscriptions
๐ New Features
Data.Morpheus.Subscriptions
provides:- runPubApp: generalized version of
httpPubApp
- runSubApp: generalized version of
webSocketsApp
๐ New encode and decode instances for
Set
,NonEmpty
,Seq
andVector
Set
andNonEmpty
throw a graphql error when a duplicate is found (Set)
or when an empty list is sent (NonEmpty).
Beware : Right now, all these types are advertised as lists in the introspection query.
This is something we are trying to change by submitting a proposal to the graphql spec.morpheus-graphql-core
๐ฅ Breaking Changes
signature changes:
render
:
a -> Text
โ toa -> ByteString
๐ parseTypeSystemDefinition :
Text -> Eventless (Schema VALID)
โ toByteString -> Eventless (Schema VALID)
๐ parseTypeDefinitions:
Text -> Eventless [TypeDefinition ANY CONST]
โ toByteString -> Eventless [TypeDefinition ANY CONST]
Minor Changes
- ๐ parser performance optimization
morpheus-graphql-client
Minor Changes
- subscriptions are extracted in