Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore this testing things #2973

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
lennyburdette committed Apr 2, 2024
commit ee4a9a99b4c2eaaca53aca4fd6e498360d120427
2 changes: 1 addition & 1 deletion composition-js/src/compose.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@ import { buildFederatedQueryGraph, buildSupergraphAPIQueryGraph } from "@apollo/
import { mergeSubgraphs } from "./merging";
import { validateGraphComposition } from "./validate";
import { CompositionHint } from "./hints";
import { validate_graph_composition_wasm } from 'fake-composition-wasm';

export type CompositionResult = CompositionFailure | CompositionSuccess;

@@ -47,6 +46,7 @@ function validateCompositionOptions(options: CompositionOptions) {
}

export function compose(subgraphs: Subgraphs, options: CompositionOptions = {}): CompositionResult {
const { validate_graph_composition_wasm } = require('fake-composition-wasm');
validate_graph_composition_wasm();
validateCompositionOptions(options);