Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var sequelizeConnection = relay.sequelizeConnection;
var camelCase = require('camelcase');
var remoteSchema = require('./remoteSchema');
var _require4 = require('graphql-request'),
GraphQLClient = _require4.GraphQLClient;
var _ = require('lodash');
var _require5 = require('dataloader-sequelize'),
createContext = _require5.createContext,
EXPECTED_OPTIONS_KEY = _require5.EXPECTED_OPTIONS_KEY,
resetCache = _require5.resetCache;
var TRANSACTION_NAMESPACE = 'sequelize-graphql-schema';
var cls = require('cls-hooked');
var uuid = require('uuid/v4');
var sequelizeNamespace = cls.createNamespace(TRANSACTION_NAMESPACE);
var dataloaderContext;
var options = {
exclude: [],
includeArguments: {},
remote: {},
dataloader: false,
customTypes: [],
transactionedMutations: true,