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 bee1ded commit 689357cCopy full SHA for 689357c
graphene_federation/schema.py
@@ -3,6 +3,7 @@
3
4
from graphene import ObjectType, PageInfo
5
from graphene_directives import (
6
+ DirectiveValidationError,
7
SchemaDirective,
8
build_schema as build_directive_schema,
9
directive_decorator,
@@ -58,6 +59,9 @@ def _add_sharable_to_page_info_type(
58
59
except ValueError:
60
# Federation Version does not support @sharable
61
pass
62
+ except DirectiveValidationError:
63
+ # In multithreaded environments, @sharable is applied multiple times on PageInfo
64
+ pass
65
66
67
def build_schema(
0 commit comments