Blogs / Personal blogs

Andreas Garnæs ·

andreas.github.io

This blog post is the third in a series, which describes how to implement a type-safe GraphQL server library in OCaml. In part 1 , we described how define GraphQL scalars and objects in a type-safe manner, and in part 2 we extended this to include the notion of type modifiers (non-null and list).

Popular posts
1
Total points
207
HN comments
100
Rank
#12,376 personal

Visit andreas.github.io → RSS feedOn Hacker News Nov 2017 – Nov 2017

Software Engineering 1Programming Languages 1

1

Type-safe GraphQL with OCaml

In July 2016, I spent some time writing a GraphQL endpoint for an existing application in Go. I chose to implement the endpoint in Go based on prior experience, good concurrency support and the desire to have static type system. The GraphQL library for Go, graphql-go , worked pretty well, and I was able to build the…