Skip to content

Commit

Permalink
Update UniqueDirectivesPerLocation import (apollographql/apollo-ser…
Browse files Browse the repository at this point in the history
…ver#3741)

This update is in response to the below referenced PRs.

The `UniqueDirectivesPerLocationRule` has been exported at the root since forever (at least 0.12.0.

graphql/graphql-js#2400
graphql/graphql-js#2413
Apollo-Orig-Commit-AS: apollographql/apollo-server@5e9054c
  • Loading branch information
trevor-scheer committed Jan 31, 2020
1 parent 24632ef commit 904021a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions federation-js/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 904021a

Please sign in to comment.