harmonizer 0.1.0

Apollo Federation utility to compose a supergraph from subgraphs
docs.rs failed to build harmonizer-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: harmonizer-2.0.0-preview.4-1

Harmonizer

This harmonizer offers the ability to invoke a bundled version of the JavaScript library, @apollo/federation, which composes multiple subgraphs into a supergraph.

The bundled version of the federation library that is included is a JavaScript Immediately Invoked Function Expression (IIFE) that is created by running the Rollup.js bundler on the @apollo/federation package.

When the [harmonize] function that this crate provides is called with a [ServiceList] (which is synonymous with the terminology and service list notion that exists within the JavaScript composition library), this crate uses deno_core to invoke the JavaScript within V8. This is ultimately accomplished using rusty_v8's V8 bindings to V8.

While we intend for a future version of composition to be done natively within Rust, this allows us to provide a more stable transition using an already stable composition implementation while we work toward something else.