Skip to content

Commit

Permalink
Update UniqueDirectivesPerLocationRule import
Browse files Browse the repository at this point in the history
This update is in response to the following PRs:
graphql/graphql-js#2400
graphql/graphql-js#2413
  • Loading branch information
trevor-scheer committed Jan 30, 2020
1 parent 2bec365 commit ef512f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/apollo-federation/src/composition/rules.ts
Expand Up @@ -12,8 +12,8 @@ import { specifiedSDLRules } from 'graphql/validation/specifiedRules';
*/

import {
UniqueDirectivesPerLocation as UniqueDirectivesPerLocationFromGraphqlJs,
} from 'graphql/validation/rules/UniqueDirectivesPerLocation';
UniqueDirectivesPerLocationRule as UniqueDirectivesPerLocationRuleFromGraphqlJs,
} from 'graphql';
import {
UniqueTypeNames as UniqueTypeNamesFromGraphqlJs,
} from 'graphql/validation/rules/UniqueTypeNames';
Expand Down Expand Up @@ -41,7 +41,7 @@ import {
} from './validate/sdl';

const omit = [
UniqueDirectivesPerLocationFromGraphqlJs,
UniqueDirectivesPerLocationRuleFromGraphqlJs,
UniqueTypeNamesFromGraphqlJs,
UniqueEnumValueNamesFromGraphqlJs,
PossibleTypeExtensionsFromGraphqlJs,
Expand Down

0 comments on commit ef512f3

Please sign in to comment.