Skip to content

Commit 904021a

Browse files
Update UniqueDirectivesPerLocation import (apollographql/apollo-server#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
1 parent 24632ef commit 904021a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

federation-js/src/composition/rules.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { specifiedSDLRules } from 'graphql/validation/specifiedRules';
1212
*/
1313

1414
import {
15-
UniqueDirectivesPerLocation as UniqueDirectivesPerLocationFromGraphqlJs,
16-
} from 'graphql/validation/rules/UniqueDirectivesPerLocation';
15+
UniqueDirectivesPerLocationRule as UniqueDirectivesPerLocationRuleFromGraphqlJs,
16+
} from 'graphql';
1717
import {
1818
UniqueTypeNames as UniqueTypeNamesFromGraphqlJs,
1919
} from 'graphql/validation/rules/UniqueTypeNames';
@@ -41,7 +41,7 @@ import {
4141
} from './validate/sdl';
4242

4343
const omit = [
44-
UniqueDirectivesPerLocationFromGraphqlJs,
44+
UniqueDirectivesPerLocationRuleFromGraphqlJs,
4545
UniqueTypeNamesFromGraphqlJs,
4646
UniqueEnumValueNamesFromGraphqlJs,
4747
PossibleTypeExtensionsFromGraphqlJs,

0 commit comments

Comments
 (0)