Blogs (27) >>
ICFP 2017
Sun 3 - Sat 9 September 2017 Oxford, United Kingdom
Fri 8 Sep 2017 14:00 - 15:00 at L5 - CUFP Tutorials C8 Chair(s): Runhang Li

GraphQL is a promising new query language for APIs being used by Facebook, Github and more. By being client-centric, GraphQL allows you to deliver features faster, with fewer network roundtrips and less data going over the wire. Unlike REST, types are front and center in GraphQL: all input and output types must be declared up front in a schema. It’s these type declarations that enable some of GraphQL’s unique selling points: self-documenting APIs that can be explored and introspected with explicit guarantees on the shape of data.

The types declared in your GraphQL schema are connected to the types in your application code, but it turns out to be quite hard to capture this connection. Most GraphQL libraries resolve to runtime checks and type coercions rather than static type checking to enforce this connection. With OCaml’s powerful type system, ocaml-graphql-server is able to tie the types in schema to the types in your application code, resulting in compile-time checking of GraphQL schemas!

Fri 8 Sep

cufp-2017-talks
14:00 - 15:00: CUFP 2017 - CUFP Tutorials C8 at L5
Chair(s): Runhang Li
cufp-2017-talks150487200000014:00 - 15:00
Talk