Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async load(_: 'apollo-engine', options: ClientConfig & SingleFileOptions) {
const engineSchemaProvider = new EngineSchemaProvider(options);
const schema = await engineSchemaProvider.resolveSchema({});
return {
location: 'apollo-engine',
schema,
};
}
}