We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c5e1e commit bee1dedCopy full SHA for bee1ded
graphene_federation/apollo_versions/v2_2.py
@@ -1,7 +1,6 @@
1
from graphene_directives import CustomDirective, DirectiveLocation
2
from graphql import GraphQLDirective
3
4
-from .v2_0 import shareable_directive as sharable_directive_v2_0
5
from .v2_1 import get_directives as get_directives_v2_1
6
7
shareable_directive = CustomDirective(
@@ -19,6 +18,6 @@
19
18
def get_directives() -> dict[str, GraphQLDirective]:
20
directives = get_directives_v2_1()
21
directives.update(
22
- {directive.name: directive for directive in [sharable_directive_v2_0]}
+ {directive.name: directive for directive in [shareable_directive]}
23
)
24
return directives
0 commit comments