@apollo/federation
Version:
Apollo Federation Utilities
29 lines (26 loc) • 1.21 kB
text/typescript
import { GraphQLSchema, GraphQLError } from 'graphql';
import { ServiceDefinition } from '../../types';
export { externalUnused } from './externalUnused';
export { externalMissingOnBase } from './externalMissingOnBase';
export { externalTypeMismatch } from './externalTypeMismatch';
export { requiresFieldsMissingExternal } from './requiresFieldsMissingExternal';
export { requiresFieldsMissingOnBase } from './requiresFieldsMissingOnBase';
export { keyFieldsMissingOnBase } from './keyFieldsMissingOnBase';
export { keyFieldsSelectInvalidType } from './keyFieldsSelectInvalidType';
export { providesFieldsMissingExternal } from './providesFieldsMissingExternal';
export {
providesFieldsSelectInvalidType,
} from './providesFieldsSelectInvalidType';
export { providesNotOnEntity } from './providesNotOnEntity';
export {
executableDirectivesInAllServices,
} from './executableDirectivesInAllServices';
export { executableDirectivesIdentical } from './executableDirectivesIdentical';
export { keysMatchBaseService } from './keysMatchBaseService';
export type PostCompositionValidator = ({
schema,
serviceList,
}: {
schema: GraphQLSchema;
serviceList: ServiceDefinition[];
}) => GraphQLError[];