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 07f42ce commit 6aa406bCopy full SHA for 6aa406b
graphene_federation/service.py
@@ -83,6 +83,8 @@ def add_entity_fields_decorators(entity, schema: Schema, string_schema: str) ->
83
decorator_value = getattr(f, decorator, None)
84
if decorator_value:
85
str_field += f" {decorator_resolver(schema, decorator_value)}"
86
+ if str_fields and str_field.lstrip().startswith("\"\"\""):
87
+ str_field = f"\n{str_field}"
88
str_fields.append(str_field)
89
str_fields_annotated = "\n".join(str_fields)
90
# Replace the original field declaration by the annotated one
0 commit comments