diff --git a/graphene_federation/apollo_versions/v2_2.py b/graphene_federation/apollo_versions/v2_2.py index 18a7b6e..7842917 100644 --- a/graphene_federation/apollo_versions/v2_2.py +++ b/graphene_federation/apollo_versions/v2_2.py @@ -1,7 +1,6 @@ from graphene_directives import CustomDirective, DirectiveLocation from graphql import GraphQLDirective -from .v2_0 import shareable_directive as sharable_directive_v2_0 from .v2_1 import get_directives as get_directives_v2_1 shareable_directive = CustomDirective( @@ -19,6 +18,6 @@ def get_directives() -> dict[str, GraphQLDirective]: directives = get_directives_v2_1() directives.update( - {directive.name: directive for directive in [sharable_directive_v2_0]} + {directive.name: directive for directive in [shareable_directive]} ) return directives