Introducing The Bridge: Declarative Dataflow for GraphQL (Developer Preview) #1
Pinned
aarne
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone! 👋
We’re excited to open up early testing and discovery for The Bridge (
@stackables/bridge).If you’re tired of hardcoding third-party SDKs and scattering external API keys across every microservice in your architecture, we built this for you.
The Bridge allows you to build a lightweight, unified internal gateway that routes, reshapes, and secures all traffic to external providers using a declarative Data Topology Language. You define a clean, strongly-typed internal interface, and The Bridge wires that interface to the outside world using static
.bridgefiles.🌉 What makes it different?
Unlike writing sequential JavaScript or Python integration code,
.bridgefiles are static circuits. You don't write scripts; you wire data.Promise.alllogic—the topology resolves itself in parallel optimally.||for nulls,??for errors,on errorfor tools) compose like a PostgresCOALESCE.🚂 The Sweet Spot: Controlled Egress & Provider Agnosticism
We've found this approach is a game-changer for Egress Control.
Instead of installing the SendGrid SDK into Service A and Service B (and leaking credentials to both), you stand up a Bridge gateway. Your services simply make a standard HTTP POST request to a clean
sendEmailendpoint. The gateway uses yourlogic.bridgefile to map the request, inject the central API keys, and route the traffic.Need to swap from SendGrid to AWS SES, or Stripe to Braintree? You just rewrite the
.bridgefile. You don't touch a single line of your calling services' code.This is not ready for production yet. We are deliberately keeping things fluid so we can iterate fast. Breaking changes to the
.bridgelanguage and TypeScript API will occur frequently as we lock in the design. We will switch to strict SemVer starting from v2.0.0.🤝 We want to work with you!
Right now, we are actively looking for interesting use cases and early adopters to help us stress-test the language design and feature set before a stable release.
If you have a use case you think would be a great fit, we want to hear about it. Drop into our GitHub Discussions, share what you're trying to build, and let's figure out how to wire it up!
Happy wiring! ⚡️
Beta Was this translation helpful? Give feedback.
All reactions