How to use the graphql-config/lib/GraphQLProjectConfig.GraphQLProjectConfig.prototype function in graphql-config

To help you get started, we’ve selected a few graphql-config 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 Shopify / graphql-tools-web / packages / graphql-tool-utilities / src / augmentations.ts View on Github external
this: GraphQLProjectConfig,
  defaultName?: string,
) {
  return resolveProjectName(this, defaultName);
}

function resolveSchemaPathAugmentation(
  this: GraphQLProjectConfig,
  ignoreMissing?: boolean,
) {
  return resolveSchemaPath(this, ignoreMissing);
}

GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;
github Shopify / graphql-tools-web / packages / graphql-tool-utilities / src / augmentations.ts View on Github external
function resolveProjectNameAugmentation(
  this: GraphQLProjectConfig,
  defaultName?: string,
) {
  return resolveProjectName(this, defaultName);
}

function resolveSchemaPathAugmentation(
  this: GraphQLProjectConfig,
  ignoreMissing?: boolean,
) {
  return resolveSchemaPath(this, ignoreMissing);
}

GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;
github Shopify / graphql-tools-web / packages / graphql-tool-utilities / src / augmentations.ts View on Github external
function resolveProjectNameAugmentation(
  this: GraphQLProjectConfig,
  defaultName?: string,
) {
  return resolveProjectName(this, defaultName);
}

function resolveSchemaPathAugmentation(
  this: GraphQLProjectConfig,
  ignoreMissing?: boolean,
) {
  return resolveSchemaPath(this, ignoreMissing);
}

GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;