morpheus-graphql
morpheus-graphql copied to clipboard
Haskell GraphQL Api, Client and Tools
I submitted this issue before #721 , but I'm still seeing this problem in `0.20.0`. It seems like it's not making a data constructor for single variant enums.
Request to add a new function similar to the newly introduced `toGlobalDefinitions` that is defined as ```haskell toGlobalDefinitionsWith :: (TypeDefinition ANY VALID -> Bool) -> Schema VALID -> [ClientTypeDefinition] toGlobalDefinitionsWith...
Examples from other libraries: - https://async-graphql.github.io/async-graphql/en/depth_and_complexity.html - https://hexdocs.pm/absinthe/complexity-analysis.html
### Description When selecting fragments on a union, Morpheus inserts a `__typename` field in the answer. If I have the following schema: ```graphql union Test = Foo | Bar type...
Want to add support for subscriptions as per https://github.com/morpheusgraphql/morpheus-graphql/issues/276
`gqlDocument` does not populate the `typeOptions` field of the `GQLType` instance of the generated types in a way that would allow them to preserve their casing. ```haskell import Data.ByteString.Lazy as...
### Description As per [section 3.11](http://spec.graphql.org/June2018/#sec-Type-System.List) of the GraphQL spec, lists are subject to _Input Coercion_. One such possible coercion is the promotion of singleton lists: > If the value...
The fix for #509 enables using graphql interfaces and sub types in the client. However, it does so in a way that creates [partial record accessors](https://downloads.haskell.org/~ghc/8.10.2/docs/html/users_guide/using-warnings.html#ghc-flag--Wpartial-fields). https://github.com/AlistairB/morpheus-repro/tree/partial-fields demonstrates the issue....
Hi, While using a graphiql frontend I faced this message : > Could not set schema SDL. Error: Syntax Error: Expected Name, found "(". (45:6) 43 | } 44 |...
## directives api for SDL > GraphQL implementations that support the type system definition language must provide the @deprecated directive if representing deprecated portions of the schema. https://graphql.github.io/graphql-spec/June2018/#sec-Type-System.Directives TypeSystemDirectiveLocation: one...