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 e9ac4e0 commit ecc7be4Copy full SHA for ecc7be4
src/graphql/type/definition.py
@@ -309,7 +309,7 @@ class GraphQLScalarType(GraphQLNamedType):
309
If a type's serialize function does not return a value (i.e. it returns `None`),
310
then no error will be included in the response.
311
312
- Example:
+ Example::
313
314
def serialize_odd(value):
315
if value % 2 == 1:
@@ -912,7 +912,7 @@ class GraphQLUnionType(GraphQLNamedType):
912
to describe what types are possible as well as providing a function to determine
913
which type is actually used when the field is resolved.
914
915
916
917
class PetType(GraphQLUnionType):
918
name = 'Pet'
0 commit comments