mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +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(
|
||||
graphene_type=type,
|
||||
name=type._meta.name,
|
||||
description=type._meta.description,
|
||||
types=types,
|
||||
resolve_type=_resolve_type,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user