-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The following code:
import graphql
schema = graphql.build_ast_schema(graphql.parse("""
enum Enum {
DEFAULT
}
input Input {
enumField: Enum = DEFAULT
}"""))
print(schema.type_map['Input'].fields['enumField'].default_value)
produces None
.
I guess I'm not really sure what it should be returning, but I think "DEFAULT"
would be more appropriate than None
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working