Using LaunchDarkly Feature Flags with GraphQL Applications
The text discusses the integration of feature flags with GraphQL, a query language used to handle data retrieval from APIs and databases. It explains how feature flags can be used in multiple layers of an application, especially when migrating towards microservice architectures. The author shares their experience working with Kubernetes and GraphQL, highlighting the benefits of using feature flags for server-side changes, frontend variations, and changing data sources by updating upstream URIs. They provide examples of how to incorporate feature flags in a Node express server that retrieves data from a Postgres database and a React application using Apollo Client. The text concludes with the idea that feature flags can be applied to other APIs, proxy solutions, and data sources by locating areas where dynamic values might be beneficial.
Company
LaunchDarkly
Date published
Nov. 17, 2022
Author(s)
Peter McCarron
Word count
2365
Language
English
Hacker News points
None found.