Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 783 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 783 Bytes

Introduction

This repository serves as an example of how to leverage the unique features of GraphQL to neatly encapsulate cross cutting concerns. The example was prepared for a soapbox held at Stitch on the 4th of November 2020.

The slides for the presentation can be found here.

The talk first briefly explains the nature of GraphQL and how a GraphQL request is typically evaluated. It then proceeds to take an existing GraphQL API and rewrite the resolvers to add formatting options to String fields using GraphQL Compose.

Running this example

npm install
npm run watch