How to use the apollo-codegen-core/lib/loading.loadAndMergeQueryDocuments function in apollo-codegen-core

To help you get started, we’ve selected a few apollo-codegen-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apollographql / apollo-tooling / packages / apollo / src / __tests__ / validation.ts View on Github external
function loadQueryDocument(filename: string) {
    return loadAndMergeQueryDocuments([
      path.join(__dirname, "../../../../__fixtures__/starwars", filename)
    ]);
  }