gql2hs/examples/greeting.gql

7 lines
105 B
GraphQL

type Hello {
greeting(who: String!): String!
}
data Hello = Hello
{ greeting :: String -> String
}