Skip to content

Commit 55fab7f

Browse files
author
John Lyu
committed
add method description
1 parent ab5b2c0 commit 55fab7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ariadne_codegen/client_generators/custom_operation.py

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def generate(self) -> ast.Module:
8484
operation_name=name,
8585
operation_args=field.args,
8686
final_type=final_type,
87+
description=field.description,
8788
)
8889
method_def.lineno = len(self._class_def.body) + 1
8990
self._class_def.body.append(method_def)

0 commit comments

Comments
 (0)