/plushcap/analysis/hasura/building-rest-from-graphql-story-of-engineering-haskell

Building REST from GraphQL - a story of engineering in Haskell

What's this blog post about?

This article discusses the development of a new feature for Hasura using Haskell. The feature aimed to provide a safe and efficient mechanism for exposing GraphQL capabilities to environments where REST had better prospects for integration. The team followed an iterative approach, with clear boundaries on what could change at each stage. They also emphasized the importance of strong static types, purity, and expressivity in Haskell, which allowed for "fearless refactoring" during development. The author suggests that while there are still technical improvements to be made to the language, Haskell can effectively facilitate feature development and improvement through commoditized contribution.

Company
Hasura

Date published
March 2, 2021

Author(s)
Lyndon Maydwell

Word count
2514

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.