graphql-utilities
graphql-utilities copied to clipboard
GraphQLInputObjectType default values aren't working for non-named types (i.e., GraphQLList)
This schema won't behave as expected. The default value for friends
ends up being null
.
input InsertUserInput {
id: ID!
name: String!
friends: [ID!] = []
}