morpheus-graphql v0.2.2 Release Notes

  • ๐Ÿ›  Fixed

    • ๐Ÿ“œ Parser Supports GraphQL multiline comments
    • ๐Ÿ‘ Morpheus GraphQL Client: Support GraphQL Alias
    • ๐Ÿ‘Œ Support of GraphQL Interfaces on GraphQL Document:
      # simple.gql
      interface Node {
        nodeId: ID!
      }
    
      type SimpleType implements Node {
        nodeId: ID!
        name: String!
      }
    

    morpheus compiler will read interfaces and validate implements. template haskell will generate haskell types only for types not for interfaces.

    haskell type from simple.gql:

       data SimpleType = SimpleType {
          nodeId :: ID!
          name   :: Text!
        }  deriving (Generic)
    

    at the time compiler does not validates field Arguments by interface