Skip to content

Commit

Permalink
AggregateError
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed May 22, 2023
1 parent 28372ca commit 130abe0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion packages/cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ConfigProcessOptions, processConfig } from '@graphql-mesh/config';
import { path, process } from '@graphql-mesh/cross-helpers';
import { jsonSchema, YamlConfig } from '@graphql-mesh/types';
import { defaultImportFn, DefaultLogger, loadYaml } from '@graphql-mesh/utils';
import { AggregateError } from '@graphql-tools/utils';

export function validateConfig(
config: any,
Expand Down
1 change: 0 additions & 1 deletion packages/handlers/thrift/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import {
YamlConfig,
} from '@graphql-mesh/types';
import { readFileOrUrl } from '@graphql-mesh/utils';
import { AggregateError } from '@graphql-tools/utils';

export default class ThriftHandler implements MeshHandler {
private config: YamlConfig.ThriftHandler;
Expand Down
1 change: 0 additions & 1 deletion packages/json-machete/src/compareJSONSchemas.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { AggregateError } from '@graphql-tools/utils';
import { resolvePath } from './dereferenceObject.js';
import { JSONSchema } from './types.js';
import { visitJSONSchema } from './visitJSONSchema.js';
Expand Down
7 changes: 1 addition & 6 deletions packages/mergers/federation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ import {
} from '@graphql-mesh/types';
import { printWithCache } from '@graphql-mesh/utils';
import { addResolversToSchema } from '@graphql-tools/schema';
import {
AggregateError,
asArray,
ExecutionRequest,
printSchemaWithDirectives,
} from '@graphql-tools/utils';
import { asArray, ExecutionRequest, printSchemaWithDirectives } from '@graphql-tools/utils';
import { wrapSchema } from '@graphql-tools/wrap';

export default class FederationMerger implements MeshMerger {
Expand Down
1 change: 0 additions & 1 deletion packages/runtime/src/get-mesh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import {
} from '@graphql-mesh/utils';
import { CreateProxyingResolverFn, Subschema, SubschemaConfig } from '@graphql-tools/delegate';
import {
AggregateError,
ExecutionResult,
getRootTypeMap,
inspect,
Expand Down
2 changes: 1 addition & 1 deletion packages/transforms/rate-limit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { process } from '@graphql-mesh/cross-helpers';
import { ResolverData, stringInterpolator } from '@graphql-mesh/string-interpolation';
import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types';
import type { DelegationContext } from '@graphql-tools/delegate';
import { AggregateError, ExecutionRequest } from '@graphql-tools/utils';
import { ExecutionRequest } from '@graphql-tools/utils';

export default class RateLimitTransform implements MeshTransform {
private pathRateLimitDef = new Map<string, YamlConfig.RateLimitTransformConfig>();
Expand Down

0 comments on commit 130abe0

Please sign in to comment.