mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
Merge pull request #830 from danpalmer/patch-4
Expose documentation for Union types
This commit is contained in:
commit
8d4b9cdc77
|
@ -255,6 +255,7 @@ class TypeMap(GraphQLTypeMap):
|
||||||
return GrapheneUnionType(
|
return GrapheneUnionType(
|
||||||
graphene_type=type,
|
graphene_type=type,
|
||||||
name=type._meta.name,
|
name=type._meta.name,
|
||||||
|
description=type._meta.description,
|
||||||
types=types,
|
types=types,
|
||||||
resolve_type=_resolve_type,
|
resolve_type=_resolve_type,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user