Skip to content

Commit e87ef28

Browse files
author
Sean Dougherty
committed
Added description to relationships
1 parent 6a96d37 commit e87ef28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: graphene_sqlalchemy/converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def dynamic_type():
3535
elif direction in (interfaces.ONETOMANY, interfaces.MANYTOMANY):
3636
if _type._meta.connection:
3737
return createConnectionField(_type._meta.connection)
38-
return Field(List(_type))
38+
return Field(List(_type), description=getattr(relationship, "doc", None))
3939

4040
return Dynamic(dynamic_type)
4141

0 commit comments

Comments
 (0)